diff options
| author | Kostya Serebryany <kcc@google.com> | 2012-12-05 17:56:54 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2012-12-05 17:56:54 +0000 |
| commit | 86975ce3fb8b0cb7f1370663ecf26f9ebed49119 (patch) | |
| tree | 53236d61e14853e884e3d6612357b8629f6f9824 /compiler-rt | |
| parent | 41b98843e84b37423282ed9f639cf5c0957c76e1 (diff) | |
| download | bcm5719-llvm-86975ce3fb8b0cb7f1370663ecf26f9ebed49119.tar.gz bcm5719-llvm-86975ce3fb8b0cb7f1370663ecf26f9ebed49119.zip | |
[asan] drop the extension from asan tests (as the extension may be different)
llvm-svn: 169392
Diffstat (limited to 'compiler-rt')
| -rw-r--r-- | compiler-rt/lib/asan/tests/asan_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/asan/tests/asan_test.cc b/compiler-rt/lib/asan/tests/asan_test.cc index 2d3df3afefc..db226e55834 100644 --- a/compiler-rt/lib/asan/tests/asan_test.cc +++ b/compiler-rt/lib/asan/tests/asan_test.cc @@ -1606,7 +1606,7 @@ NOINLINE static int LargeFunction(bool do_bad_access) { TEST(AddressSanitizer, DISABLED_LargeFunctionSymbolizeTest) { int failing_line = LargeFunction(false); char expected_warning[128]; - sprintf(expected_warning, "LargeFunction.*asan_test.cc:%d", failing_line); + sprintf(expected_warning, "LargeFunction.*asan_test.*:%d", failing_line); EXPECT_DEATH(LargeFunction(true), expected_warning); } @@ -1750,7 +1750,7 @@ TEST(AddressSanitizer, FileNameInGlobalReportTest) { static char zoo[10]; const char *p = Ident(zoo); // The file name should be present in the report. - EXPECT_DEATH(Ident(p[15]), "zoo.*asan_test.cc"); + EXPECT_DEATH(Ident(p[15]), "zoo.*asan_test."); } int *ReturnsPointerToALocalObject() { |

