Disable test for Android/Bionic.
Test depends on pthread_cancel which is not supported on Android.
GitOrigin-RevId: 6830ebb07eb9065dca0215e5ae6b22a24d35a745
diff --git a/test/forced_unwind4.pass.cpp b/test/forced_unwind4.pass.cpp
index 53a0121..0d22657 100644
--- a/test/forced_unwind4.pass.cpp
+++ b/test/forced_unwind4.pass.cpp
@@ -13,6 +13,13 @@
// the child_thread. This test ensures sigretrun is handled correctly (see:
// UnwindCursor<A, R>::setInfoForSigReturn).
+// Android/Bionic does not support pthread_cancel.
+#ifdef __BIONIC__
+int main() {
+ return 0;
+}
+#else
+
#include <chrono>
#include <condition_variable>
#include <pthread.h>
@@ -48,3 +55,4 @@
pthread_join(child_thread, NULL);
return 0;
}
+#endif