]> granicus.if.org Git - llvm/commitdiff
[llvm-config] Fix cflags test looking for "error"
authorChris Bieneman <beanz@apple.com>
Mon, 12 Dec 2016 23:03:28 +0000 (23:03 +0000)
committerChris Bieneman <beanz@apple.com>
Mon, 12 Dec 2016 23:03:28 +0000 (23:03 +0000)
This test is (I think) actually trying to make sure no errors are printed, but it hits on the string "error" in flags.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289484 91177308-0d34-0410-b5e6-96231b3b80d8

test/tools/llvm-config/cflags.test

index 5e977cb14ed5bcd6982c8ec42f6b6d87f2ebba48..ef3e486bd968ab34c31f923b4d635a219e05be7c 100644 (file)
@@ -3,5 +3,5 @@ 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: error:
 CHECK-NOT: warning