[msan] Fix msan tests with pipefail option.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Wed, 31 Jul 2013 09:14:55 +0000 (09:14 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Wed, 31 Jul 2013 09:14:55 +0000 (09:14 +0000)
llvm-svn: 187485

compiler-rt/lib/msan/lit_tests/dso-origin.cc
compiler-rt/lib/msan/lit_tests/ioctl_custom.cc
compiler-rt/lib/msan/lit_tests/lit.cfg

index 6ca482d..13661c6 100644 (file)
@@ -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>
 
index b4a56dc..94ed528 100644 (file)
@@ -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>
index a49a172..bc19b74 100644 (file)
@@ -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']: