]> granicus.if.org Git - clang/commitdiff
fix tests
authorNuno Lopes <nunoplopes@sapo.pt>
Tue, 27 Oct 2009 10:09:29 +0000 (10:09 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Tue, 27 Oct 2009 10:09:29 +0000 (10:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85223 91177308-0d34-0410-b5e6-96231b3b80d8

test/Preprocessor/assembler-with-cpp.c
test/Preprocessor/output_paste_avoid.c

index 78a58b05653878611b26189c33bca86ccd667b09..4f1c443fc042e88fee66355203eb0dbaa5dcd615 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -x assembler-with-cpp -fdollars-in-identifiers=0 -E %s > %t | FileCheck -strict-whitespace -check-prefix=CHECK-Identifiers-False %s &&
+// RUN: clang-cc -x assembler-with-cpp -fdollars-in-identifiers=0 -E %s -o - | FileCheck -strict-whitespace -check-prefix=CHECK-Identifiers-False %s &&
 
 #ifndef __ASSEMBLER__
 #error "__ASSEMBLER__ not defined"
@@ -49,7 +49,7 @@
 6: FOO(blarg)
 // CHECK-Identifiers-False: 6: blarg $foo
 
-// RUN: clang-cc -x assembler-with-cpp -fdollars-in-identifiers=1 -E %s > %t | FileCheck -check-prefix=CHECK-Identifiers-True -strict-whitespace %s &&
+// RUN: clang-cc -x assembler-with-cpp -fdollars-in-identifiers=1 -E %s -o - | FileCheck -check-prefix=CHECK-Identifiers-True -strict-whitespace %s &&
 #define FOO(name)  name ## $foo
 7: FOO(blarg)
 // CHECK-Identifiers-True: 7: blarg$foo
index 4a150949985522196383b24c4d74ab3d51a44b04..200ced9fba7a2e8bb1ab58862496788b0900a7f4 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: clang-cc -E %s -o %t | FileCheck -strict-whitespace %s
+// RUN: clang-cc -E %s -o - | FileCheck -strict-whitespace %s
 
 
 #define y(a) ..a