[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.

llvm-svn: 289484

llvm/test/tools/llvm-config/cflags.test

index 5e977cb..ef3e486 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