summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-10-21 23:20:41 +0000
committerDouglas Gregor <dgregor@apple.com>2011-10-21 23:20:41 +0000
commit0a92de06f013da0dccdd10c40f44433c16f2725f (patch)
treef2550b5311f465a7b00cf7c1f88840a45c0bcc67 /clang/test/CodeGen
parent7c6d7b83c1fe201fb2c0d4b75705aa133bd211d3 (diff)
downloadbcm5719-llvm-0a92de06f013da0dccdd10c40f44433c16f2725f.tar.gz
bcm5719-llvm-0a92de06f013da0dccdd10c40f44433c16f2725f.zip
Switch tests from grep to FileCheck
llvm-svn: 142699
Diffstat (limited to 'clang/test/CodeGen')
-rw-r--r--clang/test/CodeGen/debug-info-compilation-dir.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/clang/test/CodeGen/debug-info-compilation-dir.c b/clang/test/CodeGen/debug-info-compilation-dir.c
index 4ffa1552cad..4b472991498 100644
--- a/clang/test/CodeGen/debug-info-compilation-dir.c
+++ b/clang/test/CodeGen/debug-info-compilation-dir.c
@@ -1,4 +1,6 @@
-// RUN: %clang_cc1 -fdebug-compilation-dir /nonsense -emit-llvm -g %s -o - | \
-// RUN: grep nonsense
+// RUN: %clang_cc1 -fdebug-compilation-dir /nonsense -emit-llvm -g %s -o - | FileCheck -check-prefix=CHECK-NONSENSE %s
+// CHECK-NONSENSE: nonsense
+
+// RUN: %clang_cc1 -emit-llvm -g %s -o - | FileCheck -check-prefix=CHECK-DIR %s
+// CHECK-DIR: CodeGen
-// RUN: %clang_cc1 -emit-llvm -g %s -o - | grep %S
OpenPOWER on IntegriCloud