Skip to content

Commit 349eab1

Browse files
authored
[asan] Enable wait4 test on Android (#124879)
1 parent 540402c commit 349eab1

File tree

1 file changed

+0
-8
lines changed
  • compiler-rt/test/asan/TestCases/Posix

1 file changed

+0
-8
lines changed

compiler-rt/test/asan/TestCases/Posix/wait4.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,13 @@
44
// RUN: %clangxx_asan -DWAIT4_RUSAGE -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s
55
// RUN: %clangxx_asan -DWAIT4_RUSAGE -O3 %s -o %t && not %run %t 2>&1 | FileCheck %s
66

7-
// XFAIL: android
87
// UNSUPPORTED: darwin
98

109
#include <assert.h>
1110
#include <sys/wait.h>
1211
#include <unistd.h>
1312

1413
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-
2214
pid_t pid = fork();
2315
if (pid) { // parent
2416
int x[3];

0 commit comments

Comments
 (0)