[PATCH] Remove repository pathname dependence in test

David Callahan dcallahan at fb.com
Thu Jan 15 15:05:51 PST 2015


Per review comments, modified to use FileCheck


http://reviews.llvm.org/D7002

Files:
  test/CodeGen/2004-06-17-UnorderedCompares.c

Index: test/CodeGen/2004-06-17-UnorderedCompares.c
===================================================================
--- test/CodeGen/2004-06-17-UnorderedCompares.c
+++ test/CodeGen/2004-06-17-UnorderedCompares.c
@@ -1,4 +1,6 @@
-// RUN: %clang_cc1  -std=c99 %s -emit-llvm -o - | grep -v llvm.isunordered | grep -v ModuleID | not grep call
+// RUN: %clang_cc1  -std=c99 %s -emit-llvm -o - | FileCheck %s
+// CHECK: @Test
+// CHECK-NOT: call
 
 _Bool A, B, C, D, E, F;
 void TestF(float X, float Y) {

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7002.18268.patch
Type: text/x-patch
Size: 502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150115/98346518/attachment.bin>


More information about the cfe-commits mailing list