]> granicus.if.org Git - clang/commitdiff
FileCheck-ize.
authorEric Christopher <echristo@gmail.com>
Tue, 18 Jun 2013 00:03:46 +0000 (00:03 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 18 Jun 2013 00:03:46 +0000 (00:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184151 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/debug-options.c

index ca77abf9fd309554916f6748c2a255a8c5d8144e..aad97d42c686d2d85c36bd2f52ba3e9649712ab3 100644 (file)
@@ -21,8 +21,8 @@
 // RUN:             | FileCheck -check-prefix=GLTO_NO %s
 //
 // RUN: %clang -### -c -grecord-gcc-switches -gno-record-gcc-switches \
-// RUN:           -gstrict-dwarf -gno-strict-dwarf %s 2>&1 \
-// RUN:        | not grep "argument unused during compilation"
+// RUN:        -gstrict-dwarf -gno-strict-dwarf %s 2>&1 \
+// RUN:        | FileCheck -check-prefix=GIGNORE %s
 //
 // G: "-cc1"
 // G: "-g"
@@ -42,3 +42,5 @@
 //
 // GLTO_NO: "-cc1"
 // GLTO_NO-NOT: "-gline-tables-only"
+//
+// GIGNORE-NOT: "argument unused during compilation"