v4-0002-Expand-test-selection-behavior-to-all-test-types-.patch
text/x-patch
Filename: v4-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 v4-0002
Subject: Expand test selection behavior to all test types in meson based builds
| File | + | − |
|---|---|---|
| src/tools/testwrap | 1 | 1 |
From 1f880027b477afbcc0b43d4d7e5a907d44a8b4ca 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 v4 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 0ab9f5dada9..c1e6d2ba376 100755
--- a/src/tools/testwrap
+++ b/src/tools/testwrap
@@ -43,7 +43,7 @@ env_dict = {**os.environ,
'TESTDATADIR': os.path.join(testdir, 'data'),
'TESTLOGDIR': os.path.join(testdir, 'log')}
-if "TESTS" in env_dict and args.testgroup == 'regress' and args.testname == 'regress':
+if "TESTS" in env_dict:
args.test_command.extend(env_dict["TESTS"].split(' '))
else:
if args.schedule:
--
2.45.2