diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-09-29 20:50:41 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-10-12 17:33:27 +0200 |
| commit | 7e783c3ac62e1000775843234da5f8a78f50b6af (patch) | |
| tree | 39e8100141efae6ed5f3d638c22edea4edb29448 | |
| parent | 0055d0a8589d5cc01b7db1a6b424a33cf7070e51 (diff) | |
Enable building of unit tests on macOS.
| -rw-r--r-- | cscript | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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: |
