]> granicus.if.org Git - llvm/commit
Make lit :: shtest-format.py supported on Windows again
authorVictor Leschuk <vleschuk@accesssoftek.com>
Wed, 23 Aug 2017 14:59:09 +0000 (14:59 +0000)
committerVictor Leschuk <vleschuk@accesssoftek.com>
Wed, 23 Aug 2017 14:59:09 +0000 (14:59 +0000)
commitd177228190df483e841798439cb0976e1127cdc7
tree0d59f481eb3a39cc94d05b7444a2b2b6440c93c1
parent6603f56f5fdd9b9d28b8a7ebc73484a1b4f0cf84
Make lit :: shtest-format.py supported on Windows again

It was marked as unsupported on Windows in r311230 because on some Win10
machines it failed or caused hang. The problem was that on these machines
system bash (C:\Windows\System32\bash.exe) was used which requires paths to be
passed like '/mnt/c/path/to/my/script' instead of 'C:\path\to\my\script'.

TODO: we should make lit detect if system bash is used instead of msys and set
appropriate path format.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311558 91177308-0d34-0410-b5e6-96231b3b80d8
utils/lit/tests/shtest-format.py