[llvm] r360368 - Use UNSUPPORTED: system-windows instead of REQUIRES: nowindows or UNSUPPORTED: windows. nowindows is not currently defined and windows does not cover all cases. system-windows is also consistent with how other platforms are used.

Stella Stamenova via llvm-commits llvm-commits at lists.llvm.org
Thu May 9 12:40:21 PDT 2019


Author: stella.stamenova
Date: Thu May  9 12:40:21 2019
New Revision: 360368

URL: http://llvm.org/viewvc/llvm-project?rev=360368&view=rev
Log:
Use UNSUPPORTED: system-windows instead of REQUIRES: nowindows or UNSUPPORTED: windows. nowindows is not currently defined and windows does not cover all cases. system-windows is also consistent with how other platforms are used.

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

Modified: llvm/trunk/utils/lit/lit/llvm/config.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/llvm/config.py?rev=360368&r1=360367&r2=360368&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/llvm/config.py (original)
+++ llvm/trunk/utils/lit/lit/llvm/config.py Thu May  9 12:40:21 2019
@@ -58,7 +58,7 @@ class LLVMConfig(object):
         elif platform.system() == "Linux":
             features.add('system-linux')
         elif platform.system() in ['FreeBSD']:
-            config.available_features.add('system-freebsd')
+            features.add('system-freebsd')
         elif platform.system() == "NetBSD":
             features.add('system-netbsd')
 

Modified: llvm/trunk/utils/lit/tests/shtest-timeout.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/tests/shtest-timeout.py?rev=360368&r1=360367&r2=360368&view=diff
==============================================================================
--- llvm/trunk/utils/lit/tests/shtest-timeout.py (original)
+++ llvm/trunk/utils/lit/tests/shtest-timeout.py Thu May  9 12:40:21 2019
@@ -1,7 +1,7 @@
 # REQUIRES: python-psutil
 
 # llvm.org/PR33944
-# UNSUPPORTED: windows
+# UNSUPPORTED: system-windows
 
 # FIXME: This test is fragile because it relies on time which can
 # be affected by system performance. In particular we are currently




More information about the llvm-commits mailing list