[llvm-bugs] [Bug 24868] New: lit.utils.which is fairly broken

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Sep 17 13:42:29 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24868

            Bug ID: 24868
           Summary: lit.utils.which is fairly broken
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

$ ./bin/llvm-lit -sv  ~/llvm/lld/test/COFF/export-exe.test
Testing Time: 0.00s
  Unsupported Tests  : 1
$ export PATH=$PATH:
$ ./bin/llvm-lit -sv  ~/llvm/lld/test/COFF/export-exe.test
FAIL: lld :: COFF/export-exe.test (1 of 1)

The extra ':' causes lit to search with no path prefix and find the lib
directory on the build dir.

modern versions of python have a  shutil.which.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150917/8e076524/attachment.html>


More information about the llvm-bugs mailing list