Author: Jonas Devlieghere Date: 2020-08-28T15:45:54-07:00 New Revision: 55e7d91072e865d36953e91a7b2c8bfc219464d6
URL: https://github.com/llvm/llvm-project/commit/55e7d91072e865d36953e91a7b2c8bfc219464d6 DIFF: https://github.com/llvm/llvm-project/commit/55e7d91072e865d36953e91a7b2c8bfc219464d6.diff LOG: [lldb] Dervice dotest.py path from config.lldb_src_root (NFC) Added: Modified: lldb/test/API/lit.cfg.py lldb/test/API/lit.site.cfg.py.in Removed: ################################################################################ diff --git a/lldb/test/API/lit.cfg.py b/lldb/test/API/lit.cfg.py index e083e2fd9beb..238df53b69a5 100644 --- a/lldb/test/API/lit.cfg.py +++ b/lldb/test/API/lit.cfg.py @@ -147,7 +147,7 @@ def find_python_interpreter(): 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(';')) diff --git a/lldb/test/API/lit.site.cfg.py.in b/lldb/test/API/lit.site.cfg.py.in index 3a108ae5c85a..b746b22a84e1 100644 --- a/lldb/test/API/lit.site.cfg.py.in +++ b/lldb/test/API/lit.site.cfg.py.in @@ -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 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits