[clang] add REQUIRES to driver test case
authorBrian Cain <bcain@quicinc.com>
Thu, 8 Aug 2019 20:04:39 +0000 (20:04 +0000)
committerBrian Cain <bcain@quicinc.com>
Thu, 8 Aug 2019 20:04:39 +0000 (20:04 +0000)
The test case explicitly leverages x86, so should include it as
a test requirement.

llvm-svn: 368332

clang/test/Driver/as-no-warnings.c

index 7f7be025b7f4960855e62866b4ed353c73819383..2c5bfbe49fbca818ea15b31dea9cc8f88b4a28e7 100644 (file)
@@ -5,6 +5,9 @@
 // RUN: not %clang %s -c -o %t.o -target i686-pc-linux-gnu -integrated-as -Wa,--fatal-warnings 2>&1 | FileCheck --check-prefix=CHECK-AS-FATAL %s
 // RUN: not %clang %s -c -o %t.o -target i686-pc-linux-gnu -fno-integrated-as -Wa,--fatal-warnings 2>&1 | FileCheck --check-prefix=CHECK-AS-FATAL %s
 
+// REQUIRES: clang-driver
+// REQUIRES: x86-registered-target
+
 // CHECK: "-cc1" {{.*}} "-massembler-no-warn"
 // CHECK-NOIAS: "--no-warn"
 // CHECK-AS-NOWARN-NOT: warning: