From: Brian Cain Date: Thu, 8 Aug 2019 20:04:39 +0000 (+0000) Subject: [clang] add REQUIRES to driver test case X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a9fe76e6cf1a9060509608f074e822b47a16342d;p=clang [clang] add REQUIRES to driver test case The test case explicitly leverages x86, so should include it as a test requirement. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@368332 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/as-no-warnings.c b/test/Driver/as-no-warnings.c index 7f7be025b7..2c5bfbe49f 100644 --- a/test/Driver/as-no-warnings.c +++ b/test/Driver/as-no-warnings.c @@ -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: