summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-03-20 16:49:34 +0100
committerCarl Hetherington <cth@carlh.net>2026-03-20 16:49:34 +0100
commit66eacda97c6cdca307d5a83f3be2dbc0e713803b (patch)
tree1b6abbc7a11e64c7508678a97a2e1bdce741b873 /cscript
parentb188b1935e8b9a17d7da287d82d6d4303ad03aef (diff)
Build tests on some more platforms.
Diffstat (limited to 'cscript')
-rw-r--r--cscript3
1 files changed, 1 insertions, 2 deletions
diff --git a/cscript b/cscript
index 1de20a5f..14321093 100644
--- a/cscript
+++ b/cscript
@@ -77,8 +77,7 @@ def build(target, options, for_package, version):
cmd += ' --disable-mpeg2-transcode'
if target.platform == 'linux':
cmd += ' --static'
- if target.distro != 'ubuntu' or not target.version in ('16.04', '22.04'):
- # We only build tests on Ubuntu 16.04 and 22.04
+ if target.distro == 'debian' or (target.distro == 'centos' and target.version != 'stream10') or (target.distro == 'rocky' and target.version != '10') or target.distro == 'mageia':
cmd += ' --disable-tests'
if target.distro == 'ubuntu' and target.version == '16.04':
cmd += ' --static-boost'