Clean up testcases to make them proper
authorChris Lattner <sabre@nondot.org>
Tue, 20 Aug 2002 19:32:17 +0000 (19:32 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 20 Aug 2002 19:32:17 +0000 (19:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3410 91177308-0d34-0410-b5e6-96231b3b80d8

test/Linker/2002-07-17-LinkTest2.ll
test/Linker/testlink1.ll

index 322f38034fafc711f06873ece65cc811e590e697..c1db0634b6486fbf3ce88fb6203d85f767dc96a7 100644 (file)
@@ -1,7 +1,6 @@
 ; This fails linking when it is linked with an empty file as the first object file
 
-; RUN: touch Output/LinkTest1.ll
-; RUN: as Output/LinkTest1.ll
+; RUN: as > Output/LinkTest1.bc < /dev/null
 ; RUN: as < %s > Output/LinkTest2.bc
 ; RUN: link Output/LinkTest[12].bc
 
index 12cf652d158132a7c9e17a8d4ac4906b7e787b8e..dd89d8b6960a890b2ecc210ed3f567d4cb92d232 100644 (file)
@@ -1,3 +1,6 @@
+; RUN: as < %s > Output/%s.bc
+; RUN: as < testlink2.ll > Output/testlink2.bc
+; RUN: link Output/%s.bc Output/testlink2.bc
 
 %MyVar     = uninitialized global int
 %MyIntList = global { \2 *, int } { { \2, int }* null, int 17 }