[compiler-rt] r187485 - [msan] Fix msan tests with pipefail option.
Rafael EspĂndola
rafael.espindola at gmail.com
Wed Jul 31 07:39:46 PDT 2013
Thanks!
On 31 July 2013 05:14, Evgeniy Stepanov <eugeni.stepanov at gmail.com> wrote:
> Author: eugenis
> Date: Wed Jul 31 04:14:55 2013
> New Revision: 187485
>
> URL: http://llvm.org/viewvc/llvm-project?rev=187485&view=rev
> Log:
> [msan] Fix msan tests with pipefail option.
>
> Modified:
> compiler-rt/trunk/lib/msan/lit_tests/dso-origin.cc
> compiler-rt/trunk/lib/msan/lit_tests/ioctl_custom.cc
> compiler-rt/trunk/lib/msan/lit_tests/lit.cfg
>
> Modified: compiler-rt/trunk/lib/msan/lit_tests/dso-origin.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/msan/lit_tests/dso-origin.cc?rev=187485&r1=187484&r2=187485&view=diff
> ==============================================================================
> --- compiler-rt/trunk/lib/msan/lit_tests/dso-origin.cc (original)
> +++ compiler-rt/trunk/lib/msan/lit_tests/dso-origin.cc Wed Jul 31 04:14:55 2013
> @@ -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>
>
>
> Modified: compiler-rt/trunk/lib/msan/lit_tests/ioctl_custom.cc
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/msan/lit_tests/ioctl_custom.cc?rev=187485&r1=187484&r2=187485&view=diff
> ==============================================================================
> --- compiler-rt/trunk/lib/msan/lit_tests/ioctl_custom.cc (original)
> +++ compiler-rt/trunk/lib/msan/lit_tests/ioctl_custom.cc Wed Jul 31 04:14:55 2013
> @@ -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>
>
> Modified: compiler-rt/trunk/lib/msan/lit_tests/lit.cfg
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/msan/lit_tests/lit.cfg?rev=187485&r1=187484&r2=187485&view=diff
> ==============================================================================
> --- compiler-rt/trunk/lib/msan/lit_tests/lit.cfg (original)
> +++ compiler-rt/trunk/lib/msan/lit_tests/lit.cfg Wed Jul 31 04:14:55 2013
> @@ -67,7 +67,6 @@ config.environment['MSAN_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']:
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list