From 2062ec68b7600acf184e83463ba2142ba96957b5 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Tue, 18 Jun 2013 00:03:46 +0000 Subject: [PATCH] FileCheck-ize. llvm-svn: 184151 --- clang/test/Driver/debug-options.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/clang/test/Driver/debug-options.c b/clang/test/Driver/debug-options.c index ca77abf9fd30..aad97d42c686 100644 --- a/clang/test/Driver/debug-options.c +++ b/clang/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" -- GitLab