From dde9dcc24b23e0b8185cf7ce5072c0dc8ff086c9 Mon Sep 17 00:00:00 2001 From: Kostya Serebryany Date: Thu, 29 Nov 2012 12:18:48 +0000 Subject: [PATCH] [asan] disable BuiltinLongJmpTest on Android llvm-svn: 168872 --- compiler-rt/lib/asan/tests/asan_test.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler-rt/lib/asan/tests/asan_test.cc b/compiler-rt/lib/asan/tests/asan_test.cc index 1296069a4..4c49937 100644 --- a/compiler-rt/lib/asan/tests/asan_test.cc +++ b/compiler-rt/lib/asan/tests/asan_test.cc @@ -688,6 +688,7 @@ TEST(AddressSanitizer, LongJmpTest) { } } +#if not defined(__ANDROID__) TEST(AddressSanitizer, BuiltinLongJmpTest) { static jmp_buf buf; if (!__builtin_setjmp((void**)buf)) { @@ -696,6 +697,7 @@ TEST(AddressSanitizer, BuiltinLongJmpTest) { TouchStackFunc(); } } +#endif // not defined(__ANDROID__) TEST(AddressSanitizer, UnderscopeLongJmpTest) { static jmp_buf buf; -- 2.7.4