Convert several tests to use temporary files instead of redundantly
[oota-llvm.git] / test / CodeGen / X86 / packed_struct.ll
index aea631896a8cd2bd97cbd7e783dbd284a2309267..2a781e7e546bed361ef79ef61b91c0cdb6fa7e7b 100644 (file)
@@ -1,8 +1,9 @@
-; RUN: llvm-as < %s | llc -march=x86 | grep foos+5
-; RUN: llvm-as < %s | llc -march=x86 | grep foos+1
-; RUN: llvm-as < %s | llc -march=x86 | grep foos+9
-; RUN: llvm-as < %s | llc -march=x86 | grep bara+19
-; RUN: llvm-as < %s | llc -march=x86 | grep bara+4
+; RUN: llvm-as < %s | llc -march=x86 > %t
+; RUN: grep foos+5 %t
+; RUN: grep foos+1 %t
+; RUN: grep foos+9 %t
+; RUN: grep bara+19 %t
+; RUN: grep bara+4 %t
 
 ; make sure we compute the correct offset for a packed structure