[LLVMbugs] [Bug 8502] New: llvm-lit does not search for bash in the path

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Oct 29 04:16:43 PDT 2010


           Summary: llvm-lit does not search for bash in the path
           Product: Test Suite
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: lit
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: carlos.delalama at urjc.es
                CC: llvmbugs at cs.uiuc.edu, daniel at zuster.org

Created an attachment (id=5698)
 --> (http://llvm.org/bugs/attachment.cgi?id=5698)
Patch for llvm-lit to look for bash in PATH

llvm-lit disregards PATH environment variable when looking for bash. This is
due to LitConfig.getBashPath always calling Utils.which with a second argument,
even when this is empty. The attached patch checks of self.path is empty and in
that case calls Utils.which with just one argument, making env PATH to be used.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list