From 84f0d5ac8861f3a18bbef143c777134629d922d7 Mon Sep 17 00:00:00 2001 From: Ben Langmuir Date: Tue, 30 May 2017 20:21:47 +0000 Subject: [PATCH] [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 --- test/tools/llvm-config/cflags.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tools/llvm-config/cflags.test b/test/tools/llvm-config/cflags.test index ef3e486bd96..461de86b64c 100644 --- a/test/tools/llvm-config/cflags.test +++ b/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: