v6-0002-Expand-test-selection-behavior-to-all-test-types-.patch

text/x-patch

Filename: v6-0002-Expand-test-selection-behavior-to-all-test-types-.patch
Type: text/x-patch
Part: 1
Message: Re: meson and check-tests

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: format-patch
Series: patch v6-0002
Subject: Expand test selection behavior to all test types in meson based builds
File+
src/tools/testwrap 1 1
From 185ce9323387d8a66248d9000d31999642c223e3 Mon Sep 17 00:00:00 2001
From: Nazir Bilal Yavuz <byavuz81@gmail.com>
Date: Thu, 26 Sep 2024 10:24:52 +0300
Subject: [PATCH v6 2/2] Expand test selection behavior to all test types in
 meson based builds

Previously, the ability to select specific tests to run was limited to
regress/regress tests. This commit extends that functionality to all test
types in the meson based builds.

Author: Nazir Bilal Yavuz <byavuz81@gmail.com>
Reviewed-by: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Reviewed-by: Jian He <jian.universality@gmail.com>
Discussion: postgr.es/m/CAExHW5tK-QqayUN0%2BN3MF5bjV6vLKDCkRuGwoDJwc7vGjwCygQ%40mail.gmail.com
---
 src/tools/testwrap | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tools/testwrap b/src/tools/testwrap
index 998006c7361..6ccf2732363 100755
--- a/src/tools/testwrap
+++ b/src/tools/testwrap
@@ -53,7 +53,7 @@ env_dict = {**os.environ,
 if "PG_TEST_EXTRA" not in env_dict and args.pg_test_extra:
     env_dict["PG_TEST_EXTRA"] = args.pg_test_extra
 
-if "TESTS" in env_dict and args.testgroup == 'regress' and args.testname == 'regress':
+if "TESTS" in env_dict:
     args.test_command += env_dict["TESTS"].split()
 else:
     if args.schedule:
-- 
2.45.2