From db75ad9c47e8ed60f94e3d555098002fabfe1899 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Mon, 8 Jun 2009 22:44:26 +0000 Subject: [PATCH] Fix test, which could miss failures, and also avoid leaving temporary .i file in source directory. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73094 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/lineno-dbginfo.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/CodeGen/lineno-dbginfo.c b/test/CodeGen/lineno-dbginfo.c index fe9e59ac2d..12c32ce9dd 100644 --- a/test/CodeGen/lineno-dbginfo.c +++ b/test/CodeGen/lineno-dbginfo.c @@ -1,5 +1,6 @@ -// RUN: echo "#include " > %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 " > %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; -- 2.50.1