diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2014-03-24 08:30:59 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2014-03-24 08:30:59 +0000 |
commit | 1033f7edc27ab79c8d3a86d29547c45ee6953229 (patch) | |
tree | 85b1256c39cdaad7d0826d3894997f564491b3ff /lib/asan/tests/asan_test.cc | |
parent | e7ed8710ffe83a52f0722f3b4fda311eb855ca09 (diff) |
[asan] Disable setjmp/sigsetjmp tests.
Failing due to PR19207.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@204590 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/tests/asan_test.cc')
-rw-r--r-- | lib/asan/tests/asan_test.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/asan/tests/asan_test.cc b/lib/asan/tests/asan_test.cc index bab686b71..978579819 100644 --- a/lib/asan/tests/asan_test.cc +++ b/lib/asan/tests/asan_test.cc @@ -565,8 +565,10 @@ NOINLINE void TouchStackFunc() { A[i] = i*i; } +// 3 tests below are disabled due to http://llvm.org/bugs/show_bug.cgi?id=19207 + // Test that we handle longjmp and do not report false positives on stack. -TEST(AddressSanitizer, LongJmpTest) { +TEST(AddressSanitizer, DISABLED_LongJmpTest) { static jmp_buf buf; if (!setjmp(buf)) { LongJmpFunc1(buf); @@ -590,7 +592,7 @@ TEST(AddressSanitizer, BuiltinLongJmpTest) { #endif // !defined(__ANDROID__) && !defined(__powerpc64__) && // !defined(__powerpc__) -TEST(AddressSanitizer, UnderscopeLongJmpTest) { +TEST(AddressSanitizer, DISABLED_UnderscopeLongJmpTest) { static jmp_buf buf; if (!_setjmp(buf)) { UnderscopeLongJmpFunc1(buf); @@ -599,7 +601,7 @@ TEST(AddressSanitizer, UnderscopeLongJmpTest) { } } -TEST(AddressSanitizer, SigLongJmpTest) { +TEST(AddressSanitizer, DISABLED_SigLongJmpTest) { static sigjmp_buf buf; if (!sigsetjmp(buf, 1)) { SigLongJmpFunc1(buf); |