summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/Linux/swapcontext_annotation.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/asan/TestCases/Linux/swapcontext_annotation.cc')
-rw-r--r--test/asan/TestCases/Linux/swapcontext_annotation.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/asan/TestCases/Linux/swapcontext_annotation.cc b/test/asan/TestCases/Linux/swapcontext_annotation.cc
index 3bfda7353..5eae27a32 100644
--- a/test/asan/TestCases/Linux/swapcontext_annotation.cc
+++ b/test/asan/TestCases/Linux/swapcontext_annotation.cc
@@ -12,7 +12,8 @@
//
// This test is too subtle to try on non-x86 arch for now.
-// REQUIRES: x86-target-arch
+// Android does not support swapcontext.
+// REQUIRES: x86-target-arch && !android
#include <pthread.h>
#include <setjmp.h>