r184151 - FileCheck-ize.
Eric Christopher
echristo at gmail.com
Mon Jun 17 17:03:46 PDT 2013
Author: echristo
Date: Mon Jun 17 19:03:46 2013
New Revision: 184151
URL: http://llvm.org/viewvc/llvm-project?rev=184151&view=rev
Log:
FileCheck-ize.
Modified:
cfe/trunk/test/Driver/debug-options.c
Modified: cfe/trunk/test/Driver/debug-options.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/debug-options.c?rev=184151&r1=184150&r2=184151&view=diff
==============================================================================
--- cfe/trunk/test/Driver/debug-options.c (original)
+++ cfe/trunk/test/Driver/debug-options.c Mon Jun 17 19:03:46 2013
@@ -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"
More information about the cfe-commits
mailing list