r305215 - Address David Blaikie comment by replacing grep with FileCheck.

Yaron Keren via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 12 11:29:37 PDT 2017


Author: yrnkrn
Date: Mon Jun 12 13:29:37 2017
New Revision: 305215

URL: http://llvm.org/viewvc/llvm-project?rev=305215&view=rev
Log:
Address David Blaikie comment by replacing grep with FileCheck.


Modified:
    cfe/trunk/test/Misc/pr32207.c

Modified: cfe/trunk/test/Misc/pr32207.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Misc/pr32207.c?rev=305215&r1=305214&r2=305215&view=diff
==============================================================================
--- cfe/trunk/test/Misc/pr32207.c (original)
+++ cfe/trunk/test/Misc/pr32207.c Mon Jun 12 13:29:37 2017
@@ -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() {}




More information about the cfe-commits mailing list