aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/linkage.ll
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-07-02 10:18:06 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-07-02 10:18:06 +0000
commit7e621f3242108121139c81e9f71f0e15a4d0aa76 (patch)
treea96b55651ec1c53e21241b92b88e780c274b46aa /test/Linker/linkage.ll
parent3e25c4a1e3e58bc1d00d894854a29dd2e4e7e88a (diff)
downloadexternal_llvm-7e621f3242108121139c81e9f71f0e15a4d0aa76.zip
external_llvm-7e621f3242108121139c81e9f71f0e15a4d0aa76.tar.gz
external_llvm-7e621f3242108121139c81e9f71f0e15a4d0aa76.tar.bz2
Switch a bunch of Linker tests from using elaborate echo productions to
just provide and reference separate input files from an Inputs subdirectory. This pattern works very well in the Clang tree and is easier to understand in my opinion. It also has fewer limitations and will remove one particularly annoying use of TCL-style {} quoting from the testsuite. Also teach the LLVM lit configuration to avoid recursing into 'Inputs' subdirectories. This wasn't required for the previous 'Inputs' subdirectories used due to fortuitous suffix patterns. This is the first step to completely removing support for TCL-style tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159520 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker/linkage.ll')
-rw-r--r--test/Linker/linkage.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Linker/linkage.ll b/test/Linker/linkage.ll
new file mode 100644
index 0000000..c7309aa
--- /dev/null
+++ b/test/Linker/linkage.ll
@@ -0,0 +1,3 @@
+; RUN: llvm-as %S/Inputs/linkage.a.ll -o %t.1.bc
+; RUN: llvm-as %S/Inputs/linkage.b.ll -o %t.2.bc
+; RUN: llvm-link %t.1.bc %t.2.bc