Address David Blaikie comment by replacing grep with FileCheck.
authorYaron Keren <yaron.keren@gmail.com>
Mon, 12 Jun 2017 18:29:37 +0000 (18:29 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Mon, 12 Jun 2017 18:29:37 +0000 (18:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@305215 91177308-0d34-0410-b5e6-96231b3b80d8

test/Misc/pr32207.c

index 57b147d0261390bebeee101411fe3a52ce901916..f738e41684c64b39bffe75519418fba761799d1d 100644 (file)
@@ -1,3 +1,4 @@
 // test for r305179
-// RUN: %clang_cc1 -emit-llvm -O -mllvm -print-after-all %s -o %t 2>&1 | grep '*** IR Dump After Function Integration/Inlining ***'
+// RUN: %clang_cc1 -emit-llvm -O -mllvm -print-after-all %s -o %t 2>&1 | FileCheck %s
+// CHECK: *** IR Dump After Function Integration/Inlining ***
 void foo() {}