File tree 1 file changed +7
-1
lines changed 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
import argparse
4
4
import shutil
5
+ import shlex
5
6
import subprocess
6
7
import os
7
8
import sys
@@ -51,7 +52,12 @@ env_dict = {**os.environ,
51
52
if "PG_TEST_EXTRA" not in env_dict and args .pg_test_extra :
52
53
env_dict ["PG_TEST_EXTRA" ] = args .pg_test_extra
53
54
54
- sp = subprocess .Popen (args .test_command , env = env_dict , stdout = subprocess .PIPE )
55
+ if args .testname in ['regress' , 'isolation' , 'ecpg' ] and 'EXTRA_REGRESS_OPTS' in env_dict :
56
+ test_command = args .test_command + shlex .split (env_dict ['EXTRA_REGRESS_OPTS' ])
57
+ else :
58
+ test_command = args .test_command
59
+
60
+ sp = subprocess .Popen (test_command , env = env_dict , stdout = subprocess .PIPE )
55
61
# Meson categorizes a passing TODO test point as bad
56
62
# (https://github.com/mesonbuild/meson/issues/13183). Remove the TODO
57
63
# directive, so Meson computes the file result like Perl does. This could
You can’t perform that action at this time.
0 commit comments