File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
compiler-rt/test/sanitizer_common Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 44// RUN: %clangxx -DUSING_%tool_name %s -o %t
55
66// Intentionally don't inherit the default options.
7- // RUN: env %tool_options='' not --crash %run %t 2>&1
7+ // RUN: env %tool_options='' TSAN_OPTIONS=ignore_interceptors_accesses=0 not --crash %run %t 2>&1
88
99// When we use lit's default options, we shouldn't crash.
1010// RUN: not %run %t 2>&1
Original file line number Diff line number Diff line change @@ -35,7 +35,8 @@ if config.host_os == 'Darwin':
3535 # On Darwin, we default to `abort_on_error=1`, which would make tests run
3636 # much slower. Let's override this and run lit tests with 'abort_on_error=0'.
3737 default_tool_options += ['abort_on_error=0' ]
38- default_tool_options += ['ignore_interceptors_accesses=0' ]
38+ if config .tool_name == "tsan" :
39+ default_tool_options += ['ignore_interceptors_accesses=0' ]
3940elif config .android :
4041 # The same as on Darwin, we default to "abort_on_error=1" which slows down
4142 # testing. Also, all existing tests are using "not" instead of "not --crash"
You can’t perform that action at this time.
0 commit comments