mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
[lldb] Dervice dotest.py path from config.lldb_src_root (NFC)
This commit is contained in:
@@ -147,7 +147,7 @@ else:
|
||||
lit_config.warning("Could not set a default per-test timeout. " + errormsg)
|
||||
|
||||
# Build dotest command.
|
||||
dotest_cmd = [config.dotest_path]
|
||||
dotest_cmd = [os.path.join(config.lldb_src_root, 'test', 'API', 'dotest.py')]
|
||||
dotest_cmd += ['--arch', config.test_arch]
|
||||
dotest_cmd.extend(config.dotest_args_str.split(';'))
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@ config.target_triple = "@TARGET_TRIPLE@"
|
||||
config.lldb_build_directory = "@LLDB_TEST_BUILD_DIRECTORY@"
|
||||
config.lldb_reproducer_directory = os.path.join("@LLDB_TEST_BUILD_DIRECTORY@", "reproducers")
|
||||
config.python_executable = "@Python3_EXECUTABLE@"
|
||||
config.dotest_path = "@LLDB_SOURCE_DIR@/test/API/dotest.py"
|
||||
config.dotest_args_str = "@LLDB_DOTEST_ARGS@"
|
||||
config.lldb_enable_python = @LLDB_ENABLE_PYTHON@
|
||||
config.dotest_lit_args_str = None
|
||||
|
||||
Reference in New Issue
Block a user