File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ import subprocess
4
4
import sys
5
5
6
6
dotest_path = '@LLDB_SOURCE_DIR_CONFIGURED@/test/API/dotest.py'
7
- dotest_args_str = '@LLDB_DOTEST_ARGS_CONFIGURED@'
7
+ dotest_common_args_str = '@LLDB_TEST_COMMON_ARGS_CONFIGURED@'
8
+ dotest_user_args_str = '@LLDB_TEST_USER_ARGS_CONFIGURED@'
8
9
arch = '@LLDB_TEST_ARCH@'
9
10
executable = '@LLDB_TEST_EXECUTABLE_CONFIGURED@'
10
11
compiler = '@LLDB_TEST_COMPILER_CONFIGURED@'
@@ -26,8 +27,10 @@ if __name__ == '__main__':
26
27
dotest_args = []
27
28
# split on an empty string will produce [''] and if you
28
29
# add that to the command, it will be treated as a directory...
29
- if len(dotest_args_str) > 0:
30
- dotest_args = dotest_args_str.split(';')
30
+ if dotest_common_args_str:
31
+ dotest_args.extend(dotest_common_args_str.split(';'))
32
+ if dotest_user_args_str:
33
+ dotest_args.extend(dotest_user_args_str.split(';'))
31
34
# Build dotest.py command.
32
35
cmd = [sys.executable, dotest_path]
33
36
cmd.extend(['--arch', arch])
You can’t perform that action at this time.
0 commit comments