[compiler-rt] r226268 - [asan] Fix asan_options-include test.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Fri Jan 16 02:30:53 PST 2015


Author: eugenis
Date: Fri Jan 16 04:30:53 2015
New Revision: 226268

URL: http://llvm.org/viewvc/llvm-project?rev=226268&view=rev
Log:
[asan] Fix asan_options-include test.

Wrong include order.

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=226268&r1=226267&r2=226268&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 04:30:53 2015
@@ -1,8 +1,8 @@
 // RUN: %clangxx_asan -O0 %s -o %t
-// RUN: echo "symbolize=1\ninclude='%t.options2.txt'" > %t.options1.txt
-// RUN: echo "verbosity=1" > %t.options2.txt
-// RUN: ASAN_OPTIONS="verbosity=0:include='%t.options2.txt'" %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-VERBOSITY1
-// RUN: ASAN_OPTIONS="include='%t.options2.txt',verbosity=0" %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-VERBOSITY0
+// 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
 
 #include <stdio.h>





More information about the llvm-commits mailing list