[compiler-rt] r208332 - [ASan tests] Fix non-Windows breakage
Timur Iskhodzhanov
timurrrr at google.com
Thu May 8 08:59:36 PDT 2014
Author: timurrrr
Date: Thu May 8 10:59:35 2014
New Revision: 208332
URL: http://llvm.org/viewvc/llvm-project?rev=208332&view=rev
Log:
[ASan tests] Fix non-Windows breakage
Modified:
compiler-rt/trunk/lib/asan/tests/asan_test.cc
Modified: compiler-rt/trunk/lib/asan/tests/asan_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/asan_test.cc?rev=208332&r1=208331&r2=208332&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_test.cc (original)
+++ compiler-rt/trunk/lib/asan/tests/asan_test.cc Thu May 8 10:59:35 2014
@@ -479,15 +479,18 @@ TEST(AddressSanitizer, SimpleStackTest)
SizedStackTest<128>();
}
+#if !defined(_WIN32)
+// FIXME: It's a bit hard to write multi-line death test expectations
+// in a portable way. Anyways, this should just be turned into a lit test.
TEST(AddressSanitizer, ManyStackObjectsTest) {
char XXX[10];
char YYY[20];
char ZZZ[30];
Ident(XXX);
Ident(YYY);
- EXPECT_DEATH(Ident(ZZZ)[-1] = 0,
- ASAN_PCRE_DOTALL "XXX.*\\n.*YYY.*\\n.*ZZZ");
+ EXPECT_DEATH(Ident(ZZZ)[-1] = 0, ASAN_PCRE_DOTALL "XXX.*YYY.*ZZZ");
}
+#endif
#if 0 // This test requires online symbolizer.
// Moved to lit_tests/stack-oob-frames.cc.
More information about the llvm-commits
mailing list