From: Stella Stamenova Date: Thu, 9 May 2019 19:40:21 +0000 (+0000) Subject: Use UNSUPPORTED: system-windows instead of REQUIRES: nowindows or UNSUPPORTED: window... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e9c0fded7c9ef8fde329af8495ede75aa0776a6b;p=llvm 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360368 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/lit/lit/llvm/config.py b/utils/lit/lit/llvm/config.py index 8969a3d3405..250bbbcd1c3 100644 --- a/utils/lit/lit/llvm/config.py +++ b/utils/lit/lit/llvm/config.py @@ -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') diff --git a/utils/lit/tests/shtest-timeout.py b/utils/lit/tests/shtest-timeout.py index a11e4447f54..1208e7379d0 100644 --- a/utils/lit/tests/shtest-timeout.py +++ b/utils/lit/tests/shtest-timeout.py @@ -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