From 7e783c3ac62e1000775843234da5f8a78f50b6af Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 29 Sep 2020 20:50:41 +0200 Subject: Enable building of unit tests on macOS. --- cscript | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cscript b/cscript index 3540edad4..293d69b7c 100644 --- a/cscript +++ b/cscript @@ -394,8 +394,9 @@ 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'): - # 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.platform == 'osx')): + # Currently we only build tests on Ubuntu 18.04 and macOS opt += ' --disable-tests' if target.debug: -- cgit v1.2.3