summaryrefslogtreecommitdiffstats
path: root/debuginfo-tests/lit.site.cfg.py.in
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-11-17 00:41:18 +0000
committerZachary Turner <zturner@google.com>2017-11-17 00:41:18 +0000
commitb5c237ec3d5f708e7118913923f3d50359dff40a (patch)
treeb438760cb6dcd11f4a68498b270b55af373a95b4 /debuginfo-tests/lit.site.cfg.py.in
parent2f2ace985de421f9a4ff793ae2520ae91ecd4f0a (diff)
downloadbcm5719-llvm-b5c237ec3d5f708e7118913923f3d50359dff40a.tar.gz
bcm5719-llvm-b5c237ec3d5f708e7118913923f3d50359dff40a.zip
Re-revert "Refactor debuginfo-tests"
This is still broken because it causes certain tests to be run twice with slightly different configurations, which is wrong in some cases. You can observe this by running: ninja -nv check-all | grep debuginfo-tests And seeing that it passes clang/test and clang/test/debuginfo-tests to lit, which causes it to run debuginfo-tests twice. The fix is going to involve either: a) figuring out that we're running in this "deprecated" configuration, and then deleting the clang/test/debuginfo-tests path, which should cause it to behave identically to before, or: b) make lit smart enough that it doesn't descend into a sub-suite if that sub-suite already has a lit.cfg file. llvm-svn: 318486
Diffstat (limited to 'debuginfo-tests/lit.site.cfg.py.in')
-rw-r--r--debuginfo-tests/lit.site.cfg.py.in25
1 files changed, 0 insertions, 25 deletions
diff --git a/debuginfo-tests/lit.site.cfg.py.in b/debuginfo-tests/lit.site.cfg.py.in
deleted file mode 100644
index 8c4481a9f94..00000000000
--- a/debuginfo-tests/lit.site.cfg.py.in
+++ /dev/null
@@ -1,25 +0,0 @@
-@LIT_SITE_CFG_IN_HEADER@
-
-import lit.util
-
-config.test_exec_root = "@CMAKE_BINARY_DIR@"
-
-config.llvm_src_root = "@LLVM_SOURCE_DIR@"
-config.llvm_obj_root = "@LLVM_BINARY_DIR@"
-config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
-config.llvm_libs_dir = "@LLVM_LIBS_DIR@"
-config.llvm_shlib_dir = "@SHLIBDIR@"
-config.llvm_plugin_ext = "@LLVM_PLUGIN_EXT@"
-config.debuginfo_tests_obj_root = "@DEBUGINFO_TESTS_BINARY_DIR@"
-config.debuginfo_tests_src_root = "@DEBUGINFO_TESTS_SOURCE_DIR@"
-config.has_lld = lit.util.pythonize_bool("@DEBUGINFO_TESTS_HAS_LLD@")
-config.host_triple = "@LLVM_HOST_TRIPLE@"
-config.target_triple = "@TARGET_TRIPLE@"
-config.host_arch = "@HOST_ARCH@"
-
-config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@"
-
-@LIT_SITE_CFG_IN_FOOTER@
-
-# Let the main config do the real work.
-lit_config.load_config(config, "@DEBUGINFO_TESTS_SOURCE_DIR@/lit.cfg.py")
OpenPOWER on IntegriCloud