projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e374b6
)
[llvm-config] Fix cflags test looking for "warning"
author
Ben Langmuir
<blangmuir@apple.com>
Tue, 30 May 2017 20:21:47 +0000
(20:21 +0000)
committer
Ben Langmuir
<blangmuir@apple.com>
Tue, 30 May 2017 20:21:47 +0000
(20:21 +0000)
This will fail if you configure with e.g. -Wno-unknown-warning-option.
Change it to check for 'warning:' just like we did for 'error:' in
r289484.
llvm-svn: 304239
llvm/test/tools/llvm-config/cflags.test
patch
|
blob
|
history
diff --git
a/llvm/test/tools/llvm-config/cflags.test
b/llvm/test/tools/llvm-config/cflags.test
index
ef3e486
..
461de86
100644
(file)
--- a/
llvm/test/tools/llvm-config/cflags.test
+++ b/
llvm/test/tools/llvm-config/cflags.test
@@
-4,4
+4,4
@@
RUN: llvm-config --cxxflags 2>&1 | FileCheck %s
CHECK: -I
CHECK: {{[/\\]}}include
CHECK-NOT: error:
-CHECK-NOT: warning
+CHECK-NOT: warning
: