Build tests on Windows.
authorCarl Hetherington <cth@carlh.net>
Wed, 30 Sep 2020 19:26:37 +0000 (21:26 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 12 Oct 2020 15:33:27 +0000 (17:33 +0200)
cscript

diff --git a/cscript b/cscript
index 293d69b7ccb1b41f5b8c702fb05ded03cb28e3b0..ac0f48d6658c47cc0f9b9756331e4fee42632018 100644 (file)
--- a/cscript
+++ b/cscript
@@ -395,8 +395,9 @@ def configure_options(target, options):
     opt = ' --warnings-are-errors'
 
     if not ((target.platform == 'linux' and target.distro == 'ubuntu' and target.version == '18.04') or
-            (target.platform == 'osx')):
-        # Currently we only build tests on Ubuntu 18.04 and macOS
+            (target.platform == 'osx') or
+            (target.platform == 'windows')):
+        # Currently we only build tests on Ubuntu 18.04, macOS and Windows
         opt += ' --disable-tests'
 
     if target.debug: