Build tests on ubuntu 16.04.
authorCarl Hetherington <cth@carlh.net>
Sun, 7 Feb 2021 00:03:14 +0000 (01:03 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 7 Feb 2021 00:03:14 +0000 (01:03 +0100)
cscript

diff --git a/cscript b/cscript
index ef607a50ee0176c84739407938a732ac01115325..0479d69a3d1bbafcfef055e77018e506b74f9322 100644 (file)
--- a/cscript
+++ b/cscript
@@ -390,10 +390,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') or
+    if not ((target.platform == 'linux' and target.distro == 'ubuntu' and target.version in ('16,04', '18.04')) or
             (target.platform == 'osx') or
             (target.platform == 'windows')):
-        # Currently we only build tests on Ubuntu 18.04, macOS and Windows
+        # Currently we only build tests on Ubuntu {16,18}.04, macOS and Windows
         opt += ' --disable-tests'
 
     if target.debug: