[cfe-commits] r73094 - /cfe/trunk/test/CodeGen/lineno-dbginfo.c

Daniel Dunbar daniel at zuster.org
Mon Jun 8 15:44:26 PDT 2009


Author: ddunbar
Date: Mon Jun  8 17:44:26 2009
New Revision: 73094

URL: http://llvm.org/viewvc/llvm-project?rev=73094&view=rev
Log:
Fix test, which could miss failures, and also avoid leaving temporary .i file in
source directory.

Modified:
    cfe/trunk/test/CodeGen/lineno-dbginfo.c

Modified: cfe/trunk/test/CodeGen/lineno-dbginfo.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/lineno-dbginfo.c?rev=73094&r1=73093&r2=73094&view=diff

==============================================================================
--- cfe/trunk/test/CodeGen/lineno-dbginfo.c (original)
+++ cfe/trunk/test/CodeGen/lineno-dbginfo.c Mon Jun  8 17:44:26 2009
@@ -1,5 +1,6 @@
-// RUN: echo "#include <stdio.h>" > %t.h
-// RUN: clang -S -save-temps -g -include %t.h %s -emit-llvm -o %t.ll
-// RUN: grep "i32 5" %t.ll
+// RUN: echo "#include <stdio.h>" > %t.h &&
+// RUN: clang -S -save-temps -g -include %t.h %s -emit-llvm -o %t.ll &&
+// RUN: grep "i32 5" %t.ll &&
+// RUN: rm -f lineno-dbginfo.i
 // outer is at line number 5.
 int outer = 42;





More information about the cfe-commits mailing list