[compiler-rt] r334558 - [ASAN] disable fgets_fputs test for android and darwin

Peter Wu via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 12 16:05:03 PDT 2018


Author: lekensteyn
Date: Tue Jun 12 16:05:03 2018
New Revision: 334558

URL: http://llvm.org/viewvc/llvm-project?rev=334558&view=rev
Log:
[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.

Modified:
    compiler-rt/trunk/test/asan/TestCases/Posix/fgets_fputs.cc

Modified: compiler-rt/trunk/test/asan/TestCases/Posix/fgets_fputs.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/fgets_fputs.cc?rev=334558&r1=334557&r2=334558&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Posix/fgets_fputs.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Posix/fgets_fputs.cc Tue Jun 12 16:05:03 2018
@@ -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>




More information about the llvm-commits mailing list