[llvm] r311558 - Make lit :: shtest-format.py supported on Windows again

Victor Leschuk via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 23 07:59:09 PDT 2017


Author: vleschuk
Date: Wed Aug 23 07:59:09 2017
New Revision: 311558

URL: http://llvm.org/viewvc/llvm-project?rev=311558&view=rev
Log:
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.

Modified:
    llvm/trunk/utils/lit/tests/shtest-format.py

Modified: llvm/trunk/utils/lit/tests/shtest-format.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/tests/shtest-format.py?rev=311558&r1=311557&r2=311558&view=diff
==============================================================================
--- llvm/trunk/utils/lit/tests/shtest-format.py (original)
+++ llvm/trunk/utils/lit/tests/shtest-format.py Wed Aug 23 07:59:09 2017
@@ -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




More information about the llvm-commits mailing list