summaryrefslogtreecommitdiff
path: root/test/xray
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2017-06-28 05:19:59 +0000
committerDean Michael Berris <dberris@google.com>2017-06-28 05:19:59 +0000
commit7ed3d6d5aa1774a76cee7c3405b23dfc5dfbc30b (patch)
treee60d9188b77299267067e443f6567d074e5a1309 /test/xray
parent0371dabce2ccba52d1ba89f93e45fb164048ab06 (diff)
[XRay][compiler-rt] Only run test in x86_64 linux.
Followup to D34669. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@306505 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/xray')
-rw-r--r--test/xray/TestCases/always-never-instrument.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/xray/TestCases/always-never-instrument.cc b/test/xray/TestCases/always-never-instrument.cc
index 990ee3eff..4e196859b 100644
--- a/test/xray/TestCases/always-never-instrument.cc
+++ b/test/xray/TestCases/always-never-instrument.cc
@@ -9,6 +9,8 @@
// RUN: FileCheck %s --check-prefix NOINSTR
// RUN: %llvm_xray extract -symbolize %t | \
// RUN: FileCheck %s --check-prefix ALWAYSINSTR
+// REQUIRES: x86_64-linux
+// REQUIRES: built-in-llvm-tree
// NOINSTR-NOT: {{.*__xray_NeverInstrumented.*}}
int __xray_NeverInstrumented() {