]> granicus.if.org Git - clang/commitdiff
Prevent these tests from dirtying the tree with output files that aren't even
authorChandler Carruth <chandlerc@gmail.com>
Fri, 6 Aug 2010 05:29:57 +0000 (05:29 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 6 Aug 2010 05:29:57 +0000 (05:29 +0000)
used for the test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110431 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/asm-errors.c
test/CodeGen/lineno-dbginfo.c
test/CodeGen/statements.c

index 7323e61b591a238012359654fcb2d5f1f21a9860..aea5cb247fa8b8d9d070a1b35e288abc6ccd0024 100644 (file)
@@ -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) {
index c5c350f7009e71b231b6a7b9f9b2985500741b41..176d4157f39ded5533f1bf40e69f06db3536a8fc 100644 (file)
@@ -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;
index 76983cc4935dced12b48f77ec49e195885075b94..0ea0597835cb756a9ddd4793dd8193bf166e6f12 100644 (file)
@@ -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) {