We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8d4335 commit 59613acCopy full SHA for 59613ac
compiler-rt/test/asan/TestCases/Posix/wait4.cpp
@@ -4,13 +4,21 @@
4
// RUN: %clangxx_asan -DWAIT4_RUSAGE -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s
5
// RUN: %clangxx_asan -DWAIT4_RUSAGE -O3 %s -o %t && not %run %t 2>&1 | FileCheck %s
6
7
+// XFAIL: android
8
// UNSUPPORTED: darwin
9
10
#include <assert.h>
11
#include <sys/wait.h>
12
#include <unistd.h>
13
14
int main(int argc, char **argv) {
15
+ // This test passes on some versions of Android NDK and fails on other.
16
+ // https://code.google.com/p/memory-sanitizer/issues/detail?id=64
17
+ // Make it fail unconditionally on Android.
18
+#ifdef __ANDROID__
19
+ return 0;
20
+#endif
21
+
22
pid_t pid = fork();
23
if (pid) { // parent
24
int x[3];
0 commit comments