[compiler-rt] r226270 - [asan] More verbose output from one of the tests.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Fri Jan 16 04:08:33 PST 2015


Author: eugenis
Date: Fri Jan 16 06:08:32 2015
New Revision: 226270

URL: http://llvm.org/viewvc/llvm-project?rev=226270&view=rev
Log:
[asan] More verbose output from one of the tests.

Trying to debug a buildbot-only failure.

Modified:
    compiler-rt/trunk/test/asan/TestCases/asan_options-include.cc

Modified: compiler-rt/trunk/test/asan/TestCases/asan_options-include.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/asan_options-include.cc?rev=226270&r1=226269&r2=226270&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/asan_options-include.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/asan_options-include.cc Fri Jan 16 06:08:32 2015
@@ -1,9 +1,14 @@
 // RUN: %clangxx_asan -O0 %s -o %t
 // RUN: echo -e "symbolize=1\ninclude='%t.options2.txt'" >%t.options1.txt
 // RUN: echo -e "verbosity=1\n" >%t.options2.txt
-// RUN: ASAN_OPTIONS="verbosity=0:include='%t.options1.txt'" %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-VERBOSITY1
-// RUN: ASAN_OPTIONS="include='%t.options1.txt',verbosity=0" %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-VERBOSITY0
-// RUN: ASAN_OPTIONS="include='%t.options-not-found.txt',verbosity=0" not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-NOT-FOUND
+// RUN: cat %t.options1.txt
+// RUN: cat %t.options2.txt
+// RUN: ASAN_OPTIONS="verbosity=0:include='%t.options1.txt'" %run %t 2>&1 | tee %t.out
+// RUN: FileCheck %s --check-prefix=CHECK-VERBOSITY1 <%t.out
+// RUN: ASAN_OPTIONS="include='%t.options1.txt',verbosity=0" %run %t 2>&1 | tee %t.out
+// RUN: FileCheck %s --check-prefix=CHECK-VERBOSITY0 <%t.out
+// RUN: ASAN_OPTIONS="include='%t.options-not-found.txt',verbosity=0" not %run %t 2>&1 | tee %t.out
+// RUN: FileCheck %s --check-prefix=CHECK-NOT-FOUND < %t.out
 
 #include <stdio.h>
 





More information about the llvm-commits mailing list