diff options
Diffstat (limited to 'compiler-rt/lib/tsan/lit_tests/Unit/lit.cfg')
-rw-r--r-- | compiler-rt/lib/tsan/lit_tests/Unit/lit.cfg | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/compiler-rt/lib/tsan/lit_tests/Unit/lit.cfg b/compiler-rt/lib/tsan/lit_tests/Unit/lit.cfg deleted file mode 100644 index 36585df1c67..00000000000 --- a/compiler-rt/lib/tsan/lit_tests/Unit/lit.cfg +++ /dev/null @@ -1,23 +0,0 @@ -# -*- Python -*- - -import os - -def get_required_attr(config, attr_name): - attr_value = getattr(config, attr_name, None) - if not attr_value: - lit_config.fatal( - "No attribute %r in test configuration! You may need to run " - "tests from your build directory or add this attribute " - "to lit.site.cfg " % attr_name) - return attr_value - -# Setup config name. -config.name = 'ThreadSanitizer-Unit' - -# Setup test source and exec root. For unit tests, we define -# it as build directory with TSan unit tests. -llvm_obj_root = get_required_attr(config, "llvm_obj_root") -config.test_exec_root = os.path.join(llvm_obj_root, "projects", - "compiler-rt", "lib", - "tsan", "tests") -config.test_source_root = config.test_exec_root |