[lld] r231976 - Don't rely on the elf test suites inputs when testing the driver. We

Chandler Carruth chandlerc at gmail.com
Wed Mar 11 15:12:40 PDT 2015


Author: chandlerc
Date: Wed Mar 11 17:12:40 2015
New Revision: 231976

URL: http://llvm.org/viewvc/llvm-project?rev=231976&view=rev
Log:
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.

Modified:
    lld/trunk/test/Driver/lib-search.test

Modified: lld/trunk/test/Driver/lib-search.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/Driver/lib-search.test?rev=231976&r1=231975&r2=231976&view=diff
==============================================================================
--- lld/trunk/test/Driver/lib-search.test (original)
+++ lld/trunk/test/Driver/lib-search.test Wed Mar 11 17:12:40 2015
@@ -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-AMD6
 
 # 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





More information about the llvm-commits mailing list