Skip to content

Commit 0650355

Browse files
committed
[clang] refactor -Wa,-W test cases.
Remove REQUIRES and only keep the clang driver tests, since the assembler are already tested with -Wa,--no-warn. This way we could run the test on non-linux platforms and catch breaks on them. llvm-svn: 374932
1 parent eb501b1 commit 0650355

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

clang/test/Driver/as-w-option.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
// RUN: %clang -### %s -c -o tmp.o -fno-integrated-as -Wa,-W 2>&1 | FileCheck -check-prefix=CHECK-NOIAS %s
22
// RUN: %clang -### %s -c -o tmp.o -integrated-as -Wa,-W 2>&1 | FileCheck -check-prefix=CHECK-IAS %s
3-
// RUN: %clang %s -c -o %t.o -integrated-as -Wa,-W 2>&1 | FileCheck -allow-empty --check-prefix=CHECK-AS-NOWARN %s
4-
// RUN: %clang %s -c -o %t.o -fno-integrated-as -Wa,-W 2>&1 | FileCheck -allow-empty --check-prefix=CHECK-AS-NOWARN %s
5-
// RUN: not %clang %s -c -o %t.o -integrated-as -Wa,--fatal-warnings 2>&1 | FileCheck --check-prefix=CHECK-AS-FATAL %s
6-
// RUN: not %clang %s -c -o %t.o -fno-integrated-as -Wa,--fatal-warnings 2>&1 | FileCheck --check-prefix=CHECK-AS-FATAL %s
7-
8-
// REQUIRES: clang-driver
9-
// REQUIRES: linux
103

114
// CHECK-IAS: "-cc1" {{.*}} "-massembler-no-warn"
125
// CHECK-NOIAS: "-W"
13-
// CHECK-AS-NOWARN-NOT: warning:
14-
// CHECK-AS-FATAL-NOT: warning:
15-
// CHECK-AS-FATAL: error
166

177
__asm(".warning");

0 commit comments

Comments
 (0)