File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 1414# suffixes: A list of file extensions to treat as test files.
1515config .suffixes = []
1616
17- # Begin Swift mod.
18- # Swift's libReflection builds without ASAN, which causes a known
19- # false positive in std::vector. We also want to support testing a sanitized
20- # lldb using unsanitized llvm, clang, and swift libraries.
21- config .environment ['ASAN_OPTIONS' ] = 'detect_container_overflow=0'
22- # End Swift mod.
23-
2417# test_source_root: The root path where unit test binaries are located.
2518# test_exec_root: The root path where tests should be run.
2619config .test_source_root = os .path .join (config .lldb_obj_root , "unittests" )
4538config .environment ["ASAN_OPTIONS" ] = "detect_stack_use_after_return=1"
4639config .environment ["TSAN_OPTIONS" ] = "halt_on_error=1"
4740
41+ # Begin Swift mod.
42+ # Swift's libReflection builds without ASAN, which causes a known
43+ # false positive in std::vector. We also want to support testing a sanitized
44+ # lldb using unsanitized llvm, clang, and swift libraries.
45+ config .environment ['ASAN_OPTIONS' ] += ':' + 'detect_container_overflow=0'
46+ # End Swift mod.
47+
48+
4849# testFormat: The test format to use to interpret tests.
4950config .test_format = lit .formats .GoogleTest (config .llvm_build_mode , "Tests" )
You can’t perform that action at this time.
0 commit comments