http://llvm.org/bugs/show_bug.cgi?id=9691
Summary: lit can't find bash in nonstandard location (e.g. for
MKS)
Product: Test Suite
Version: trunk
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P
Component: lit
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Created an attachment (id=6445)
--> (http://llvm.org/bugs/attachment.cgi?id=6445)
Patch for finding programs anywhere on the PATH
On Windows + Cmake + MKS, LitConfig.py can't find bash because MKS bash can
be in a non-standard location, i.e. outside of . or c:\bin
In MKS, you use regular DOS-style paths. In fact, bash is in
c:\mks\mksnt\bash.exe on my system.
I have attached a patch to allows us to find bash wherever it exists on the
path. It fixes what looks like an oversight in Util.which: that function will
use the value of the PATH env var if the "paths" argument is None.
The patch simply adds the case where "paths" is an empty string.
--
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