[llvm] r289484 - [llvm-config] Fix cflags test looking for "error"

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 12 15:03:28 PST 2016

Author: cbieneman
Date: Mon Dec 12 17:03:28 2016
New Revision: 289484

URL: http://llvm.org/viewvc/llvm-project?rev=289484&view=rev
[llvm-config] Fix cflags test looking for "error"

This test is (I think) actually trying to make sure no errors are printed, but it hits on the string "error" in flags.


Modified: llvm/trunk/test/tools/llvm-config/cflags.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-config/cflags.test?rev=289484&r1=289483&r2=289484&view=diff
--- llvm/trunk/test/tools/llvm-config/cflags.test (original)
+++ llvm/trunk/test/tools/llvm-config/cflags.test Mon Dec 12 17:03:28 2016
@@ -3,5 +3,5 @@ RUN: llvm-config --cppflags 2>&1 | FileC
 RUN: llvm-config --cxxflags 2>&1 | FileCheck %s
 CHECK: {{[/\\]}}include
-CHECK-NOT: error
+CHECK-NOT: error:
 CHECK-NOT: warning

More information about the llvm-commits mailing list