[cfe-commits] r110431 - in /cfe/trunk/test/CodeGen: asm-errors.c lineno-dbginfo.c statements.c

Chandler Carruth chandlerc at gmail.com
Thu Aug 5 22:29:58 PDT 2010


Author: chandlerc
Date: Fri Aug  6 00:29:57 2010
New Revision: 110431

URL: http://llvm.org/viewvc/llvm-project?rev=110431&view=rev
Log:
Prevent these tests from dirtying the tree with output files that aren't even
used for the test.

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

Modified: cfe/trunk/test/CodeGen/asm-errors.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/asm-errors.c?rev=110431&r1=110430&r2=110431&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/asm-errors.c (original)
+++ cfe/trunk/test/CodeGen/asm-errors.c Fri Aug  6 00:29:57 2010
@@ -1,4 +1,4 @@
-// RUN: not %clang_cc1 -triple i386-apple-darwin10 -emit-obj %s  > %t 2>&1
+// RUN: not %clang_cc1 -triple i386-apple-darwin10 -emit-obj %s -o /dev/null > %t 2>&1
 // RUN: FileCheck %s < %t
 
 int test1(int X) {

Modified: cfe/trunk/test/CodeGen/lineno-dbginfo.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/lineno-dbginfo.c?rev=110431&r1=110430&r2=110431&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/lineno-dbginfo.c (original)
+++ cfe/trunk/test/CodeGen/lineno-dbginfo.c Fri Aug  6 00:29:57 2010
@@ -1,6 +1,5 @@
 // RUN: echo "#include <stdio.h>" > %t.h
-// RUN: %clang -S -save-temps -g -include %t.h %s -emit-llvm -o %t.ll
+// RUN: %clang -S -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;

Modified: cfe/trunk/test/CodeGen/statements.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/statements.c?rev=110431&r1=110430&r2=110431&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/statements.c (original)
+++ cfe/trunk/test/CodeGen/statements.c Fri Aug  6 00:29:57 2010
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -Wreturn-type %s -emit-llvm
+// RUN: %clang_cc1 -Wreturn-type %s -emit-llvm -o /dev/null
 
 void test1(int x) {
 switch (x) {





More information about the cfe-commits mailing list