diff options
| author | Nico Weber <nicolasweber@gmx.de> | 2019-07-27 16:57:19 +0000 |
|---|---|---|
| committer | Nico Weber <nicolasweber@gmx.de> | 2019-07-27 16:57:19 +0000 |
| commit | 464cb6c8c8be7829a70e00280af3907425722e62 (patch) | |
| tree | 9fd8fe92e23f127f81f07d25694994e524e4cb18 /clang | |
| parent | 062cd8bb1de9554fc3688d4028b9ef2e09ca7696 (diff) | |
| download | bcm5719-llvm-464cb6c8c8be7829a70e00280af3907425722e62.tar.gz bcm5719-llvm-464cb6c8c8be7829a70e00280af3907425722e62.zip | |
Attempt to make test in r367165 more robust.
Some people were seeing this failure:
```
: 'RUN: at line 83'; clang -mrelax-all -fno-integrated-as /b/s/w/ir/k/llvm-project/clang/test/Driver/as-options.s -S 2>&1 \
| /FileCheck --check-prefix=WARN --allow-empty clang/test/Driver/as-options.s
--
Exit Code: 1
Command Output (stderr):
--
clang/test/Driver/as-options.s:66:16: error: NOWARN-NOT: excluded string found in input
// NOWARN-NOT: unused
^
<stdin>:1:95: note: found here
clang-10: warning: clang/test/Driver/as-options.s: 'assembler' input unused [-Wunused-command-line-argument]
```
Maybe this helps with that.
llvm-svn: 367176
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/test/Driver/as-options.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Driver/as-options.s b/clang/test/Driver/as-options.s index 889b34a2f22..72e9153f5a5 100644 --- a/clang/test/Driver/as-options.s +++ b/clang/test/Driver/as-options.s @@ -78,8 +78,8 @@ // But -m flags for the integrated assembler _should_ warn if the integrated // assembler is not in use. -// RUN: %clang -mrelax-all -fintegrated-as %s -S 2>&1 \ +// RUN: %clang -mrelax-all -fintegrated-as -x c++ %s -S 2>&1 \ // RUN: | FileCheck --check-prefix=NOWARN --allow-empty %s -// RUN: %clang -mrelax-all -fno-integrated-as %s -S 2>&1 \ +// RUN: %clang -mrelax-all -fno-integrated-as -x c++ %s -S 2>&1 \ // RUN: | FileCheck --check-prefix=WARN --allow-empty %s // WARN: unused |

