Build tests on Windows.
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index 3540edad411fbada0b8a81d833a74effd86f8f17..ac0f48d6658c47cc0f9b9756331e4fee42632018 100644 (file)
--- a/cscript
+++ b/cscript
@@ -394,8 +394,10 @@ option_defaults = { "gui": True, "variant": None }
 def configure_options(target, options):
     opt = ' --warnings-are-errors'
 
-    if not (target.platform == 'linux' and target.distro == 'ubuntu' and target.version == '18.04'):
-        # Currently we only build tests on Ubuntu 18.04
+    if not ((target.platform == 'linux' and target.distro == 'ubuntu' and target.version == '18.04') or
+            (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: