[XRay][clang] Only run driver test for Linux and FreeBSD
authorDean Michael Berris <dberris@google.com>
Fri, 6 Apr 2018 06:09:57 +0000 (06:09 +0000)
committerDean Michael Berris <dberris@google.com>
Fri, 6 Apr 2018 06:09:57 +0000 (06:09 +0000)
This is a follow-up to D45354, which we should have only been running on
Linux and FreeBSD for specific targets.

Differential Revision: https://reviews.llvm.org/D45354

llvm-svn: 329378

clang/test/Driver/XRay/xray-nolinkdeps.cpp

index 7f17c93..5a79e36 100644 (file)
@@ -4,3 +4,5 @@
 // RUN:     2>&1 | FileCheck --check-prefix ENABLE %s
 // ENABLE: clang_rt.xray
 // DISABLE-NOT: clang_rt.xray
+// REQUIRES-ANY: linux, freebsd
+// REQUIRES-ANY: amd64, x86_64, x86_64h, arm, aarch64, arm64