From 9b257cb6116f10e5aa0711fd8cb58730725b74fc Mon Sep 17 00:00:00 2001 From: Alex Shlyapnikov Date: Mon, 5 Jun 2017 20:36:57 +0000 Subject: [asan] Use asan exitcode=0 option to always succeed a test run. Summary: halt_on_error-torture.cc intermittently fails on ppc64be, let's try to collect more info on failures. Reviewers: eugenis Subscribers: kubamracek, llvm-commits Differential Revision: https://reviews.llvm.org/D33912 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@304731 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/asan/TestCases/Posix/halt_on_error-torture.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/asan') diff --git a/test/asan/TestCases/Posix/halt_on_error-torture.cc b/test/asan/TestCases/Posix/halt_on_error-torture.cc index 1b26173d7..ec66e0289 100644 --- a/test/asan/TestCases/Posix/halt_on_error-torture.cc +++ b/test/asan/TestCases/Posix/halt_on_error-torture.cc @@ -10,12 +10,12 @@ // // Collisions are unlikely but still possible so we need the ||. // RUN: rm -f 10.txt -// RUN: %env_asan_opts=halt_on_error=false:suppress_equal_pcs=false %run %t 10 20 >>10.txt 2>&1 || true +// RUN: %env_asan_opts=halt_on_error=false:suppress_equal_pcs=false:exitcode=0 %run %t 10 20 >>10.txt 2>&1 // RUN: FileCheck --check-prefix=CHECK-COLLISION %s < 10.txt || FileCheck --check-prefix=CHECK-NO-COLLISION %s < 10.txt // // Collisions are unlikely but still possible so we need the ||. // RUN: rm -f 20.txt -// RUN: %env_asan_opts=halt_on_error=false %run %t 10 20 >>20.txt 2>&1 || true +// RUN: %env_asan_opts=halt_on_error=false:exitcode=0 %run %t 10 20 >>20.txt 2>&1 // RUN: FileCheck --check-prefix=CHECK-COLLISION %s < 20.txt || FileCheck --check-prefix=CHECK-NO-COLLISION %s < 20.txt #include -- cgit v1.2.3