summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
Diffstat (limited to 'cscript')
-rw-r--r--cscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/cscript b/cscript
index 4659ce285..1c62f3382 100644
--- a/cscript
+++ b/cscript
@@ -467,11 +467,11 @@ def configure_options(target, options, for_package=False):
opt = ' --warnings-are-errors'
if for_package or not (
- (target.platform == 'linux' and target.distro == 'ubuntu' and target.version == '18.04') or
+ (target.platform == 'linux' and target.distro == 'ubuntu' and target.version in ['18.04', '22.04']) or
(target.platform == 'osx') or
(target.platform == 'windows')
):
- # Currently we only build tests on Ubuntu 18.04, macOS and Windows
+ # Currently we only build tests on macOS, Windows, and some Ubuntu versions
opt += ' --disable-tests'
if target.debug: