HomePhabricator

Make lit :: shtest-format.py supported on Windows again

Authored by vleschuk on Aug 23 2017, 7:59 AM.

Description

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.

llvm-svn: 311558

Details

Committed
vleschukAug 23 2017, 7:59 AM
Parents
rGa93f087d3ee4: Revert r311552: [Bash-autocompletion] Add support for static analyzer flags
Branches
Unknown
Tags
Unknown