summaryrefslogtreecommitdiff
path: root/test/asan/TestCases
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2018-06-12 23:05:03 +0000
committerPeter Wu <peter@lekensteyn.nl>2018-06-12 23:05:03 +0000
commitae4112bcf197aaf39d26a79f9fd65da32c95e553 (patch)
treef00392f1c25a668fabb320e13e1bf0d6c90a16f8 /test/asan/TestCases
parentcd81eaf22df89e1a543452d16d723c140e961b72 (diff)
[ASAN] disable fgets_fputs test for android and darwin
aarch64/aosp_marlin-userdebug/OPR4.170623.016] builder unexpectedly failed the fgets test (`assertion "fp" failed`). macOS unexpectedly passes the fputs test without triggering ASAN. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@334558 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/asan/TestCases')
-rw-r--r--test/asan/TestCases/Posix/fgets_fputs.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/asan/TestCases/Posix/fgets_fputs.cc b/test/asan/TestCases/Posix/fgets_fputs.cc
index a126c78c7..687afea0f 100644
--- a/test/asan/TestCases/Posix/fgets_fputs.cc
+++ b/test/asan/TestCases/Posix/fgets_fputs.cc
@@ -3,6 +3,7 @@
// RUN: not %run %t 1 %t-testdata 2>&1 | FileCheck %s --check-prefix=CHECK-FGETS
// RUN: not %run %t 2 2>&1 | FileCheck %s --check-prefix=CHECK-FPUTS
// RUN: not %run %t 3 2>&1 | FileCheck %s --check-prefix=CHECK-PUTS
+// XFAIL: android, darwin
#include <assert.h>
#include <stdio.h>