[asan] Dump test output in case of error in single-threaded mode.

llvm-svn: 253035
This commit is contained in:
Yury Gribov 2015-11-13 12:07:15 +00:00
parent 3c5ada8136
commit eed2daa80c
1 changed files with 1 additions and 1 deletions

View File

@ -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