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
This commit is contained in:
Chandler Carruth
2012-07-02 10:18:06 +00:00
parent 3e25c4a1e3
commit 7e621f3242
14 changed files with 60 additions and 55 deletions

3
test/Linker/linkage.ll Normal file
View File

@@ -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