forked from OSchip/llvm-project
[msan] Fix msan tests with pipefail option.
llvm-svn: 187485
This commit is contained in:
parent
87b9703ec4
commit
1ea380f693
|
@ -2,7 +2,7 @@
|
|||
// Test that origin tracking is enabled at runtime.
|
||||
// RUN: %clangxx_msan -fsanitize-memory-track-origins -m64 -O0 %p/SharedLibs/dso-origin-so.cc \
|
||||
// RUN: -fPIC -shared -o %t-so.so
|
||||
// RUN: %clangxx_msan -m64 -O0 %s %t-so.so -o %t && %t 2>&1 | FileCheck %s
|
||||
// RUN: %clangxx_msan -m64 -O0 %s %t-so.so -o %t && not %t 2>&1 | FileCheck %s
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
// RUN: %clangxx_msan -m64 -O0 -g %s -o %t && %t
|
||||
// RUN: %clangxx_msan -m64 -O3 -g %s -o %t && %t
|
||||
|
||||
// RUN: %clangxx_msan -DPOSITIVE -m64 -O0 -g %s -o %t && %t 2>&1 | FileCheck %s
|
||||
// RUN: %clangxx_msan -DPOSITIVE -m64 -O3 -g %s -o %t && %t 2>&1 | FileCheck %s
|
||||
// RUN: %clangxx_msan -DPOSITIVE -m64 -O0 -g %s -o %t && not %t 2>&1 | FileCheck %s
|
||||
// RUN: %clangxx_msan -DPOSITIVE -m64 -O3 -g %s -o %t && not %t 2>&1 | FileCheck %s
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -67,7 +67,6 @@ config.environment['MSAN_SYMBOLIZER_PATH'] = config.llvm_symbolizer_path
|
|||
|
||||
# Default test suffixes.
|
||||
config.suffixes = ['.c', '.cc', '.cpp']
|
||||
config.pipefail = False
|
||||
|
||||
# MemorySanitizer tests are currently supported on Linux only.
|
||||
if config.host_os not in ['Linux']:
|
||||
|
|
Loading…
Reference in New Issue