From fce9d7002db96bc94e0a47ddb3c2e823cd2da605 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 20 Aug 2002 19:32:17 +0000 Subject: [PATCH] Clean up testcases to make them proper git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3410 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Linker/2002-07-17-LinkTest2.ll | 3 +-- test/Linker/testlink1.ll | 3 +++ 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 322f38034fa..c1db0634b64 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 12cf652d158..dd89d8b6960 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 }