From e7d9464fe4a486d2b86223bd70a6f666e5e27468 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Tue, 18 Jun 2013 00:03:46 +0000 Subject: [PATCH] FileCheck-ize. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184151 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Driver/debug-options.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/Driver/debug-options.c b/test/Driver/debug-options.c index ca77abf9fd..aad97d42c6 100644 --- a/test/Driver/debug-options.c +++ b/test/Driver/debug-options.c @@ -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" -- 2.40.0