[llvm-commits] [PATCH] lit: makes 'where' available on cygwin
NAKAMURA Takumi
geek4civic at gmail.com
Tue Aug 31 03:31:27 PDT 2010
It was wrong, to prevent tests on win32.
It finds "test/Scripts/macho-dump test/Scripts/coff-dump.py"
even if *.bat exists.
...Takumi
2010/8/24 NAKAMURA Takumi <geek4civic at gmail.com>:
> Hello,
>
> This patch makes lit available to clang-test on cygwin.
>
> - on cygwin, os.pathsep==':' but Cygwin does not modify the variable PATHEXT.
> it might be enough separator is ';' with PATHEXT
> because PATHEXT is, AFAIK, Win32-specific.
> - When PATHEXT exists, it makes seek suffix-less file.
> on cygwin, "/path/to/a" hits to "/path/to/a.exe".
> I quoted 2 lines from http://bugs.python.org/file16459/which.py
>
> Please take a look, thank you!
>
> ...Takumi
>
More information about the llvm-commits
mailing list