From a62f4bbc26bb506f41d8143efebf0fb186bdfa5c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 13 Oct 2018 09:37:49 +0100 Subject: Fix test build. --- cscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cscript') 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: -- cgit v1.2.3