r368332 - [clang] add REQUIRES to driver test case
Brian Cain via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 8 13:04:39 PDT 2019
Author: bcain
Date: Thu Aug 8 13:04:39 2019
New Revision: 368332
URL: http://llvm.org/viewvc/llvm-project?rev=368332&view=rev
Log:
[clang] add REQUIRES to driver test case
The test case explicitly leverages x86, so should include it as
a test requirement.
Modified:
cfe/trunk/test/Driver/as-no-warnings.c
Modified: cfe/trunk/test/Driver/as-no-warnings.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/as-no-warnings.c?rev=368332&r1=368331&r2=368332&view=diff
==============================================================================
--- cfe/trunk/test/Driver/as-no-warnings.c (original)
+++ cfe/trunk/test/Driver/as-no-warnings.c Thu Aug 8 13:04:39 2019
@@ -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:
More information about the cfe-commits
mailing list