From 72593d3bdcdc73912bf1853ea7dc89f10027527f Mon Sep 17 00:00:00 2001 From: Jian Cai Date: Mon, 14 Oct 2019 22:51:12 +0000 Subject: [PATCH] [clang] add requirements to -Wa,-W test cases. Include linux as a test requirement. llvm-svn: 374837 --- clang/test/Driver/as-w-option.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clang/test/Driver/as-w-option.c b/clang/test/Driver/as-w-option.c index afaf1cf..96922ae 100644 --- a/clang/test/Driver/as-w-option.c +++ b/clang/test/Driver/as-w-option.c @@ -5,6 +5,9 @@ // RUN: not %clang %s -c -o %t.o -integrated-as -Wa,--fatal-warnings 2>&1 | FileCheck --check-prefix=CHECK-AS-FATAL %s // RUN: not %clang %s -c -o %t.o -fno-integrated-as -Wa,--fatal-warnings 2>&1 | FileCheck --check-prefix=CHECK-AS-FATAL %s +// REQUIRES: clang-driver +// REQUIRES: linux + // CHECK-IAS: "-cc1" {{.*}} "-massembler-no-warn" // CHECK-NOIAS: "-W" // CHECK-AS-NOWARN-NOT: warning: -- 2.7.4