aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-20 19:32:17 +0000
committerChris Lattner <sabre@nondot.org>2002-08-20 19:32:17 +0000
commitfce9d7002db96bc94e0a47ddb3c2e823cd2da605 (patch)
treea3b50ce913fe37316d41244d39855107cc5c1cf4 /test
parent730507cb5c9cbb1f97d4925e50f94e5b90d59327 (diff)
downloadexternal_llvm-fce9d7002db96bc94e0a47ddb3c2e823cd2da605.zip
external_llvm-fce9d7002db96bc94e0a47ddb3c2e823cd2da605.tar.gz
external_llvm-fce9d7002db96bc94e0a47ddb3c2e823cd2da605.tar.bz2
Clean up testcases to make them proper
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3410 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Linker/2002-07-17-LinkTest2.ll3
-rw-r--r--test/Linker/testlink1.ll3
2 files changed, 4 insertions, 2 deletions
diff --git a/test/Linker/2002-07-17-LinkTest2.ll b/test/Linker/2002-07-17-LinkTest2.ll
index 322f380..c1db063 100644
--- a/test/Linker/2002-07-17-LinkTest2.ll
+++ b/test/Linker/2002-07-17-LinkTest2.ll
@@ -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
diff --git a/test/Linker/testlink1.ll b/test/Linker/testlink1.ll
index 12cf652..dd89d8b 100644
--- a/test/Linker/testlink1.ll
+++ b/test/Linker/testlink1.ll
@@ -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 }