[lldb] Dervice dotest.py path from config.lldb_src_root (NFC)

This commit is contained in:
Jonas Devlieghere
2020-08-28 15:42:43 -07:00
parent 2d1362e09a
commit 55e7d91072
2 changed files with 1 additions and 2 deletions

View File

@@ -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(';'))

View File

@@ -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