test/COFF: Remove temp file usage.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Tue, 5 Oct 2010 17:56:56 +0000 (17:56 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Tue, 5 Oct 2010 17:56:56 +0000 (17:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115641 91177308-0d34-0410-b5e6-96231b3b80d8

test/MC/COFF/align-nops.s
test/MC/COFF/basic-coff.ll
test/MC/COFF/symbol-fragment-offset.ll

index 8d9f8a5145438aa87d805cb8b5234fb286c65c8c..0824e2378a0cfe84392397da2a0cd3e31e07e78e 100644 (file)
@@ -1,6 +1,5 @@
-// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s -o %t
-// RUN: coff-dump.py %abs_tmp | FileCheck %s
-        
+// RUN: llvm-mc -filetype=obj -triple i686-pc-win32 %s -o - | coff-dump.py | FileCheck %s
+
 // Test that we get optimal nops in text
     .text
 f0:
index 1452934c5da2981bd3e166ad0214bf149084235e..29e02f0e0b1c71af04daebe302f54f3c08ce6bdd 100644 (file)
@@ -1,8 +1,7 @@
 ; This test checks that the COFF object emitter works for the most basic
 ; programs.
 
-; RUN: llc -filetype=obj -mtriple i686-pc-win32 %s -o %t
-; RUN: coff-dump.py %abs_tmp | FileCheck %s
+; RUN: llc -filetype=obj -mtriple i686-pc-win32 %s -o - | coff-dump.py | FileCheck %s
 ; RUN: llc -filetype=obj -mtriple x86_64-pc-win32 %s -o %t
 
 @.str = private constant [12 x i8] c"Hello World\00" ; <[12 x i8]*> [#uses=1]
index 6ea424f00c9721b697e4c6742c670337efa18d41..1f76e312e11ef2f69b2fb65dc5e8ffab4a672b78 100644 (file)
@@ -1,8 +1,7 @@
 ; The purpose of this test is to see if the COFF object writer is emitting the\r
 ; proper relocations for multiple pieces of data in a single data fragment.\r
 \r
-; RUN: llc -filetype=obj -mtriple i686-pc-win32 %s -o %t\r
-; RUN: coff-dump.py %abs_tmp | FileCheck %s\r
+; RUN: llc -filetype=obj -mtriple i686-pc-win32 %s -o - | coff-dump.py | FileCheck %s\r
 ; RUN: llc -filetype=obj -mtriple x86_64-pc-win32 %s -o %t\r
 \r
 @.str = private constant [7 x i8] c"Hello \00"    ; <[7 x i8]*> [#uses=1]\r