summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
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: