Don't rely on the elf test suites inputs when testing the driver. We

already have a perfectly cromulent test archive in the driver inputs.

llvm-svn: 231976
This commit is contained in:
Chandler Carruth 2015-03-11 22:12:40 +00:00
parent c8f5c18714
commit cd632dc486
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
RUN: not lld -flavor gnu -t -lfnarchive -L%p/../elf/Inputs 2> %t.err
RUN: not lld -flavor gnu -t -ltest -L%p/Inputs 2> %t.err
RUN: FileCheck %s < %t.err
RUN: not lld -flavor gnu -target x86_64--netbsd -t -ltest \
@ -16,7 +16,7 @@ RUN: FileCheck -check-prefix=NETBSD-AMD64_32 %s < %t5
# run linker with -t mode to dump full paths to input files
CHECK: {{[^ ]+}}elf{{[\\/]}}Inputs{{[\\/]}}libfnarchive.a
CHECK: {{[^ ]+[\\/]}}Inputs{{[\\/]}}libtest.a
NETBSD-AMD64: {{[^ ]+}}{{[\\/]}}Inputs{{[\\/]}}usr{{[\\/]}}lib{{[\\/]}}libtest.a
NETBSD-AMD64-NS-NOT: {{[^ ]+}}{{[\\/]}}Inputs{{[\\/]}}usr{{[\\/]}}lib{{[\\/]}}libtest.a