[compiler-rt] r301966 - [asan] Mark a bunch of tests as unsupported on iOS
Kuba Mracek via llvm-commits
llvm-commits at lists.llvm.org
Tue May 2 12:37:28 PDT 2017
Author: kuba.brecka
Date: Tue May 2 14:37:28 2017
New Revision: 301966
URL: http://llvm.org/viewvc/llvm-project?rev=301966&view=rev
Log:
[asan] Mark a bunch of tests as unsupported on iOS
This patch marks a few ASan tests as unsupported on iOS. These are mostly tests that use files or paths that are invalid/inaccessible on iOS or the simulator. We currently don't have a good way of propagating/copying secondary files that individual tests need. The same problem exists on Android, so I'm just marking the tests as UNSUPPORTED now.
Differential Revision: https://reviews.llvm.org/D32632
Modified:
compiler-rt/trunk/test/asan/TestCases/Posix/closed-fds.cc
compiler-rt/trunk/test/asan/TestCases/Posix/coverage-maybe-open-file.cc
compiler-rt/trunk/test/asan/TestCases/Posix/coverage-sandboxing.cc
compiler-rt/trunk/test/asan/TestCases/Posix/coverage.cc
compiler-rt/trunk/test/asan/TestCases/Posix/start-deactivated.cc
compiler-rt/trunk/test/asan/TestCases/default_blacklist.cc
compiler-rt/trunk/test/asan/TestCases/suppressions-function.cc
Modified: compiler-rt/trunk/test/asan/TestCases/Posix/closed-fds.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/closed-fds.cc?rev=301966&r1=301965&r2=301966&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Posix/closed-fds.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Posix/closed-fds.cc Tue May 2 14:37:28 2017
@@ -8,6 +8,7 @@
// FIXME: copy %t.log back from the device and re-enable on Android.
// UNSUPPORTED: android
+// UNSUPPORTED: ios
#include <assert.h>
#include <stdio.h>
Modified: compiler-rt/trunk/test/asan/TestCases/Posix/coverage-maybe-open-file.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/coverage-maybe-open-file.cc?rev=301966&r1=301965&r2=301966&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Posix/coverage-maybe-open-file.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Posix/coverage-maybe-open-file.cc Tue May 2 14:37:28 2017
@@ -1,5 +1,6 @@
// FIXME: https://code.google.com/p/address-sanitizer/issues/detail?id=316
// XFAIL: android
+// UNSUPPORTED: ios
//
// RUN: %clangxx_asan -fsanitize-coverage=func %s -o %t
// RUN: rm -rf %T/coverage-maybe-open-file
Modified: compiler-rt/trunk/test/asan/TestCases/Posix/coverage-sandboxing.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/coverage-sandboxing.cc?rev=301966&r1=301965&r2=301966&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Posix/coverage-sandboxing.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Posix/coverage-sandboxing.cc Tue May 2 14:37:28 2017
@@ -21,6 +21,7 @@
// https://code.google.com/p/address-sanitizer/issues/detail?id=263
// XFAIL: android
+// UNSUPPORTED: ios
#include <assert.h>
#include <fcntl.h>
Modified: compiler-rt/trunk/test/asan/TestCases/Posix/coverage.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/coverage.cc?rev=301966&r1=301965&r2=301966&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Posix/coverage.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Posix/coverage.cc Tue May 2 14:37:28 2017
@@ -18,6 +18,7 @@
//
// https://code.google.com/p/address-sanitizer/issues/detail?id=263
// XFAIL: android
+// UNSUPPORTED: ios
#include <sanitizer/coverage_interface.h>
#include <assert.h>
Modified: compiler-rt/trunk/test/asan/TestCases/Posix/start-deactivated.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Posix/start-deactivated.cc?rev=301966&r1=301965&r2=301966&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Posix/start-deactivated.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Posix/start-deactivated.cc Tue May 2 14:37:28 2017
@@ -19,6 +19,7 @@
// RUN: ASAN_ACTIVATION_OPTIONS=help=1,handle_segv=0,verbosity=1 not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-UNSUPPORTED
// XFAIL: arm-linux-gnueabi
+// UNSUPPORTED: ios
// END.
Modified: compiler-rt/trunk/test/asan/TestCases/default_blacklist.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/default_blacklist.cc?rev=301966&r1=301965&r2=301966&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/default_blacklist.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/default_blacklist.cc Tue May 2 14:37:28 2017
@@ -1,5 +1,6 @@
// FIXME: https://code.google.com/p/address-sanitizer/issues/detail?id=316
// XFAIL: android
+// UNSUPPORTED: ios
//
// Test that ASan uses the default blacklist from resource directory.
// RUN: %clangxx_asan -### %s 2>&1 | FileCheck %s
Modified: compiler-rt/trunk/test/asan/TestCases/suppressions-function.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/suppressions-function.cc?rev=301966&r1=301965&r2=301966&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/suppressions-function.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/suppressions-function.cc Tue May 2 14:37:28 2017
@@ -8,6 +8,7 @@
// FIXME: Windows symbolizer needs work to make this pass.
// XFAIL: android,win32
+// UNSUPPORTED: ios
#include <stdio.h>
#include <stdlib.h>
More information about the llvm-commits
mailing list