r374837 - [clang] add requirements to -Wa,-W test cases.
Jian Cai via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 14 15:51:12 PDT 2019
Author: jcai19
Date: Mon Oct 14 15:51:12 2019
New Revision: 374837
URL: http://llvm.org/viewvc/llvm-project?rev=374837&view=rev
Log:
[clang] add requirements to -Wa,-W test cases.
Include linux as a test requirement.
Modified:
cfe/trunk/test/Driver/as-w-option.c
Modified: cfe/trunk/test/Driver/as-w-option.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/as-w-option.c?rev=374837&r1=374836&r2=374837&view=diff
==============================================================================
--- cfe/trunk/test/Driver/as-w-option.c (original)
+++ cfe/trunk/test/Driver/as-w-option.c Mon Oct 14 15:51:12 2019
@@ -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:
More information about the cfe-commits
mailing list