diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2010-08-06 05:29:57 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2010-08-06 05:29:57 +0000 |
commit | 66ce9651f1ecd959d49ea5541315434b64acca25 (patch) | |
tree | f35f8721bbb01a559386293b552fd04f8011b415 /clang | |
parent | 44207a9e9f4f29a447ab45a538c0041965527545 (diff) | |
download | bcm5719-llvm-66ce9651f1ecd959d49ea5541315434b64acca25.tar.gz bcm5719-llvm-66ce9651f1ecd959d49ea5541315434b64acca25.zip |
Prevent these tests from dirtying the tree with output files that aren't even
used for the test.
llvm-svn: 110431
Diffstat (limited to 'clang')
-rw-r--r-- | clang/test/CodeGen/asm-errors.c | 2 | ||||
-rw-r--r-- | clang/test/CodeGen/lineno-dbginfo.c | 3 | ||||
-rw-r--r-- | clang/test/CodeGen/statements.c | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/clang/test/CodeGen/asm-errors.c b/clang/test/CodeGen/asm-errors.c index 7323e61b591..aea5cb247fa 100644 --- a/clang/test/CodeGen/asm-errors.c +++ b/clang/test/CodeGen/asm-errors.c @@ -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) { diff --git a/clang/test/CodeGen/lineno-dbginfo.c b/clang/test/CodeGen/lineno-dbginfo.c index c5c350f7009..176d4157f39 100644 --- a/clang/test/CodeGen/lineno-dbginfo.c +++ b/clang/test/CodeGen/lineno-dbginfo.c @@ -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; diff --git a/clang/test/CodeGen/statements.c b/clang/test/CodeGen/statements.c index 76983cc4935..0ea0597835c 100644 --- a/clang/test/CodeGen/statements.c +++ b/clang/test/CodeGen/statements.c @@ -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) { |