summaryrefslogtreecommitdiff
path: root/test/lit.cfg.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lit.cfg.py')
-rw-r--r--test/lit.cfg.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lit.cfg.py b/test/lit.cfg.py
index ac60d2d..924f3f2 100644
--- a/test/lit.cfg.py
+++ b/test/lit.cfg.py
@@ -25,7 +25,7 @@ config.excludes = ['CMakeLists.txt']
config.test_source_root = os.path.dirname(__file__)
# test_exec_root: The root path where tests should be run.
-config.test_exec_root = os.path.join(config.llvm_obj_root, 'test')
+config.test_exec_root = os.path.join(config.test_run_dir, 'test_output')
llvm_config.use_default_substitutions()
@@ -33,7 +33,7 @@ llvm_config.use_default_substitutions()
config.substitutions.append(('%PATH%', config.environment['PATH']))
-tool_dirs = [config.llvm_tools_dir]
+tool_dirs = [config.llvm_tools_dir, config.llvm_spirv_dir]
tools = ['llvm-as', 'llvm-dis', 'llvm-spirv']