summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-10-10 00:50:57 +0200
committerCarl Hetherington <cth@carlh.net>2023-10-10 10:58:39 +0200
commitdfc34502469e9c975bf78011b0efc365c11e9779 (patch)
tree1bf34a5ba45e08c8cc9cc53f857266e69c219977 /cscript
parent6d1582f3c4b5afe57bdc3c34dada275a05a961a4 (diff)
Switch to testing on Ubuntu 16.04 and 22.04.
Diffstat (limited to 'cscript')
-rw-r--r--cscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/cscript b/cscript
index f7e8e1bf..ab52e4d3 100644
--- a/cscript
+++ b/cscript
@@ -41,8 +41,8 @@ def build(target, options):
cmd = './waf configure --disable-examples --disable-dumpimage --disable-benchmarks --prefix=%s' % target.directory
if target.platform == 'linux':
cmd += ' --static'
- if not (target.distro == 'ubuntu' and target.version == '18.04'):
- # We only build tests on Ubuntu 18.04
+ if target.distro != 'ubuntu' or not target.version in ('16.04', '22.04'):
+ # We only build tests on Ubuntu 16.04 and 22.04
cmd += ' --disable-tests'
elif target.platform == 'windows':
cmd += f' --target-windows-{target.bits}'