forked from OSchip/llvm-project
[LibFuzzer] Disable MSan test on Darwin which was added by r336619. The MemorySanitizer is
not supported on Darwin currently and so Clang refuses to compile with `-fsanitize=memory`. llvm-svn: 336669
This commit is contained in:
parent
06ea4206ad
commit
9af77974e2
|
@ -31,6 +31,14 @@ else:
|
|||
lit_config.note('lsan feature available')
|
||||
config.available_features.add('lsan')
|
||||
|
||||
# MemorySanitizer is not supported on OSX right now
|
||||
if sys.platform.startswith('darwin'):
|
||||
lit_config.note('msan feature unavailable')
|
||||
assert 'msan' not in config.available_features
|
||||
else:
|
||||
lit_config.note('msan feature available')
|
||||
config.available_features.add('msan')
|
||||
|
||||
if sys.platform.startswith('win') or sys.platform.startswith('cygwin'):
|
||||
config.available_features.add('windows')
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
REQUIRES: msan
|
||||
RUN: %msan_compiler %S/SimpleTest.cpp -o %t
|
||||
RUN: not %run %t -seed=1 -runs=10000000 2>&1 | FileCheck %s --check-prefix=NO-REPORT
|
||||
|
||||
|
|
Loading…
Reference in New Issue