summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-09-30 21:26:37 +0200
committerCarl Hetherington <cth@carlh.net>2020-10-12 17:33:27 +0200
commit853971510721bbb1e58d10344f03941c90fe51cc (patch)
tree7a7bb7714e7a5b4d3994b72884d5f2466bb2defe
parent8ca9eff1fb09a873f651d8389c752ae3cef9df88 (diff)
Build tests on Windows.
-rw-r--r--cscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/cscript b/cscript
index 293d69b7c..ac0f48d66 100644
--- 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: