diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-01-16 10:30:53 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-01-16 10:30:53 +0000 |
commit | dd3c643e49c7fc40e3f2a7327ad418a8cdca7e49 (patch) | |
tree | 9c9e5663a38679dbd946ab75079b4795fbf1d6de /test | |
parent | 825a605b4a9b181da2e07ea57c7c130f2248598a (diff) |
[asan] Fix asan_options-include test.
Wrong include order.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@226268 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/asan/TestCases/asan_options-include.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/asan/TestCases/asan_options-include.cc b/test/asan/TestCases/asan_options-include.cc index 68f0103b8..205ed9838 100644 --- a/test/asan/TestCases/asan_options-include.cc +++ b/test/asan/TestCases/asan_options-include.cc @@ -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> |