From 854655886be75dca30d86b02b975d86fb7995a31 Mon Sep 17 00:00:00 2001 From: Jay Foad Date: Wed, 12 Nov 2014 09:42:01 +0000 Subject: [PATCH] [ASan] Skip ptrace test on non-x86 targets Summary: Address sanitization of ptrace(2) is only implemented for x86, so skip the test on other targets. Reviewers: kcc, eugenis, earthdok, samsonov Reviewed By: samsonov Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D6215 llvm-svn: 221777 --- compiler-rt/test/asan/TestCases/Linux/ptrace.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compiler-rt/test/asan/TestCases/Linux/ptrace.cc b/compiler-rt/test/asan/TestCases/Linux/ptrace.cc index 926ff32..7e5acb6 100644 --- a/compiler-rt/test/asan/TestCases/Linux/ptrace.cc +++ b/compiler-rt/test/asan/TestCases/Linux/ptrace.cc @@ -3,8 +3,7 @@ // // RUN: %clangxx_asan -O0 %s -o %t && %run %t // RUN: %clangxx_asan -DPOSITIVE -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s -// XFAIL: arm-linux-gnueabi -// XFAIL: armv7l-unknown-linux-gnueabihf +// REQUIRES: x86_64-supported-target,i386-supported-target #include #include -- 2.7.4