File tree 1 file changed +8
-7
lines changed
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 14
14
# suffixes: A list of file extensions to treat as test files.
15
15
config .suffixes = []
16
16
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
-
24
17
# test_source_root: The root path where unit test binaries are located.
25
18
# test_exec_root: The root path where tests should be run.
26
19
config .test_source_root = os .path .join (config .lldb_obj_root , "unittests" )
45
38
config .environment ["ASAN_OPTIONS" ] = "detect_stack_use_after_return=1"
46
39
config .environment ["TSAN_OPTIONS" ] = "halt_on_error=1"
47
40
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
+
48
49
# testFormat: The test format to use to interpret tests.
49
50
config .test_format = lit .formats .GoogleTest (config .llvm_build_mode , "Tests" )
You can’t perform that action at this time.
0 commit comments