Make non-windows selectable for tests.

This commit is contained in:
Bertrand Bellenot 2016-11-29 15:24:01 +01:00 committed by sftnight
parent 23d3c1669d
commit 1f6b27c24c

View File

@ -316,6 +316,11 @@ config.on_clone = on_clone
if platform.system() not in ['Windows'] or lit_config.getBashPath() != '':
config.available_features.add('shell')
# Filter-out tests not supposed to run on Windows
if platform.system() not in ['Windows']:
config.available_features.add('not_system-windows')
# Loadable module
# FIXME: This should be supplied by Makefile or autoconf.
#if sys.platform in ['win32', 'cygwin']: