summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-10-13 09:37:49 +0100
committerCarl Hetherington <cth@carlh.net>2018-10-13 09:37:49 +0100
commita62f4bbc26bb506f41d8143efebf0fb186bdfa5c (patch)
treecf11a16c9864bf96481e48ad8d1ba761a916a586 /cscript
parenta90a1edb2a081155b3ec7976984c3fe2001ddbd6 (diff)
Fix test build.
Diffstat (limited to 'cscript')
-rw-r--r--cscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/cscript b/cscript
index 04d3746eb..043aba64c 100644
--- a/cscript
+++ b/cscript
@@ -335,8 +335,8 @@ def option_defaults():
def configure_options(target, options):
opt = ''
- if target.platform != 'linux' or target.distro != 'ubuntu' or 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.version == '16.04')):
+ # Currently we only build tests on Ubuntu 1{6,8}.04
opt += ' --disable-tests'
if target.debug: