http://llvm.org/bugs/show_bug.cgi?id=8502

           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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to