From 55e7d91072e865d36953e91a7b2c8bfc219464d6 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Fri, 28 Aug 2020 15:42:43 -0700 Subject: [PATCH] [lldb] Dervice dotest.py path from config.lldb_src_root (NFC) --- lldb/test/API/lit.cfg.py | 2 +- lldb/test/API/lit.site.cfg.py.in | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lldb/test/API/lit.cfg.py b/lldb/test/API/lit.cfg.py index e083e2f..238df53 100644 --- a/lldb/test/API/lit.cfg.py +++ b/lldb/test/API/lit.cfg.py @@ -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(';')) diff --git a/lldb/test/API/lit.site.cfg.py.in b/lldb/test/API/lit.site.cfg.py.in index 3a108ae..b746b22 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 -- 2.7.4