]> granicus.if.org Git - llvm/commitdiff
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)
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

index 40f0439505bfe04b0eb6fe21a2a2433eed59325f..37e3e1c12629dfb2560989ff02e07c48919e5e05 100644 (file)
@@ -1,4 +1,3 @@
-# UNSUPPORTED: windows
 # Check the various features of the ShTest format.
 #
 # RUN: not %{lit} -j 1 -v %{inputs}/shtest-format > %t.out