summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test
diff options
context:
space:
mode:
authorYury Gribov <y.gribov@samsung.com>2015-11-13 12:07:15 +0000
committerYury Gribov <y.gribov@samsung.com>2015-11-13 12:07:15 +0000
commiteed2daa80c431f217a37c7563228e07f2a3dd2e5 (patch)
tree0d53ef7652dda6780d3cba46ec398958ca7475ad /compiler-rt/test
parent3c5ada813632d2a26f6f5342d31306355d44b6fa (diff)
downloadbcm5719-llvm-eed2daa80c431f217a37c7563228e07f2a3dd2e5.tar.gz
bcm5719-llvm-eed2daa80c431f217a37c7563228e07f2a3dd2e5.zip
[asan] Dump test output in case of error in single-threaded mode.
llvm-svn: 253035
Diffstat (limited to 'compiler-rt/test')
-rw-r--r--compiler-rt/test/asan/TestCases/Linux/halt_on_error-torture.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/test/asan/TestCases/Linux/halt_on_error-torture.cc b/compiler-rt/test/asan/TestCases/Linux/halt_on_error-torture.cc
index f5a581db468..d8a21e1ca32 100644
--- a/compiler-rt/test/asan/TestCases/Linux/halt_on_error-torture.cc
+++ b/compiler-rt/test/asan/TestCases/Linux/halt_on_error-torture.cc
@@ -2,7 +2,7 @@
//
// RUN: %clangxx_asan -fsanitize-recover=address -pthread %s -o %t
//
-// RUN: env ASAN_OPTIONS=halt_on_error=false %run %t 1 10 >1.txt 2>&1
+// RUN: env ASAN_OPTIONS=halt_on_error=false %run %t 1 10 >1.txt 2>&1 || cat 1.txt
// RUN: FileCheck %s < 1.txt
// RUN: [ $(wc -l < 1.txt) -eq 10 ]
// RUN: FileCheck --check-prefix=CHECK-NO-COLLISION %s < 1.txt
OpenPOWER on IntegriCloud