]> granicus.if.org Git - clang/commitdiff
Reduce temp file pollution in some test cases.
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 3 Aug 2012 10:35:06 +0000 (10:35 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 3 Aug 2012 10:35:06 +0000 (10:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161237 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/html-diags.c
test/Driver/debug-options.c
test/Driver/warning-options.cpp

index 59d81a56a4e91dfd12d9e86612085305737e345c..b9361f72c64c6bb0ee0d7c39596339f3d895a0ec 100644 (file)
@@ -1,5 +1,5 @@
 // RUN: mkdir %t.dir
-// RUN: %clang_cc1 -analyze -analyzer-output=html -analyzer-checker=core -o %T.dir %s
+// RUN: %clang_cc1 -analyze -analyzer-output=html -analyzer-checker=core -o %t.dir %s
 // RUN: rm -fR %t.dir
 
 // Currently this test mainly checks that the HTML diagnostics doesn't crash
index bdeb6cad918f47422d24b5a353bb020e2fa0e169..ca77abf9fd309554916f6748c2a255a8c5d8144e 100644 (file)
@@ -20,7 +20,7 @@
 // RUN: %clang -### -c -gline-tables-only -g0 %s 2>&1 \
 // RUN:             | FileCheck -check-prefix=GLTO_NO %s
 //
-// RUN: %clang -c -grecord-gcc-switches -gno-record-gcc-switches \
+// RUN: %clang -### -c -grecord-gcc-switches -gno-record-gcc-switches \
 // RUN:           -gstrict-dwarf -gno-strict-dwarf %s 2>&1 \
 // RUN:        | not grep "argument unused during compilation"
 //
index ce434ab006ed1ca3c0e4f231ea48e0704a513a40..ab0da42e4bfc9e82777d62b4e2561327157ce341 100644 (file)
@@ -3,7 +3,7 @@
 // RUN: %clang -### -Wlarge-by-value-copy=128 %s 2>&1 | FileCheck -check-prefix=LARGE_VALUE_COPY_JOINED %s
 // LARGE_VALUE_COPY_JOINED: -Wlarge-by-value-copy=128
 
-// RUN: %clang -c -Wmonkey -Wno-monkey -Wno-unused-command-line-arguments \
+// RUN: %clang -### -c -Wmonkey -Wno-monkey -Wno-unused-command-line-arguments \
 // RUN:        -Wno-unused-command-line-argument %s 2>&1 | FileCheck %s
 // CHECK: unknown warning option '-Wmonkey'
 // CHECK: unknown warning option '-Wno-monkey'