1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test/tools/llvm-config/cflags.test
Ben Langmuir 84f0d5ac88 [llvm-config] Fix cflags test looking for "warning"
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
2017-05-30 20:21:47 +00:00

8 lines
214 B
Plaintext

RUN: llvm-config --cflags 2>&1 | FileCheck %s
RUN: llvm-config --cppflags 2>&1 | FileCheck %s
RUN: llvm-config --cxxflags 2>&1 | FileCheck %s
CHECK: -I
CHECK: {{[/\\]}}include
CHECK-NOT: error:
CHECK-NOT: warning: