diff options
author | Jian Cai <caij2003@gmail.com> | 2019-10-15 18:17:08 +0000 |
---|---|---|
committer | Jian Cai <caij2003@gmail.com> | 2019-10-15 18:17:08 +0000 |
commit | a7fe44fc314944e8812405603368d05080ab3c13 (patch) | |
tree | ac3f2629b69dfb71c98ea2882527e9f1c83efc10 | |
parent | 5e2a3a0b8abaf3a62c4c3ffae44bfbaed41fbfed (diff) |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@374932 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Driver/as-w-option.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/test/Driver/as-w-option.c b/test/Driver/as-w-option.c index 96922ae615..42d6df226b 100644 --- a/test/Driver/as-w-option.c +++ b/test/Driver/as-w-option.c @@ -1,17 +1,7 @@ // RUN: %clang -### %s -c -o tmp.o -fno-integrated-as -Wa,-W 2>&1 | FileCheck -check-prefix=CHECK-NOIAS %s // RUN: %clang -### %s -c -o tmp.o -integrated-as -Wa,-W 2>&1 | FileCheck -check-prefix=CHECK-IAS %s -// RUN: %clang %s -c -o %t.o -integrated-as -Wa,-W 2>&1 | FileCheck -allow-empty --check-prefix=CHECK-AS-NOWARN %s -// RUN: %clang %s -c -o %t.o -fno-integrated-as -Wa,-W 2>&1 | FileCheck -allow-empty --check-prefix=CHECK-AS-NOWARN %s -// 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: -// CHECK-AS-FATAL-NOT: warning: -// CHECK-AS-FATAL: error __asm(".warning"); |