summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-02-07 01:03:14 +0100
committerCarl Hetherington <cth@carlh.net>2021-02-07 01:03:14 +0100
commit93c2ca7dfc8feeae374c867c1c679334571a7547 (patch)
treea7b462edfd95e332ed280cf5b75b95eb2d747b29
parentb43fa17ece8aacb7cbe85d62f055a50a6858ce0d (diff)
Build tests on ubuntu 16.04.
-rw-r--r--cscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/cscript b/cscript
index ef607a50e..0479d69a3 100644
--- 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: