From a9fe76e6cf1a9060509608f074e822b47a16342d Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Thu, 8 Aug 2019 20:04:39 +0000 Subject: [PATCH] [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 --- test/Driver/as-no-warnings.c | 3 +++ 1 file changed, 3 insertions(+) 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: -- 2.50.1