aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2024-01-07 22:25:22 +0100
committerGitHub <noreply@github.com>2024-01-07 21:25:22 +0000
commit79a0f76d26d43c7f6e38a60fbe2ec6bed1510543 (patch)
tree4974b179edfafe9f22b93b5831f6ce7638cb99c3 /python/servo/testing_commands.py
parentd0ce48db06c121028e723ad3375186ab0fb961da (diff)
downloadservo-79a0f76d26d43c7f6e38a60fbe2ec6bed1510543.tar.gz
servo-79a0f76d26d43c7f6e38a60fbe2ec6bed1510543.zip
Fix the build on Ubuntu 20.04 (#31019)
Ubuntu 20.04 doesn't have a new enough version of GStreamer, so automatically disable media when running on that platform. This also cleans up the media detection a bit, putting the result in a `enable-media` variable and moving some of the logic into the build scripts themselves rather than the platform module.
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r--python/servo/testing_commands.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index 79175b45f10..59a30207c89 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -258,9 +258,7 @@ class MachCommands(CommandBase):
if nocapture:
args += ["--", "--nocapture"]
- # We are setting is_build here to true, because running `cargo test` can trigger builds.
- env = self.build_env(is_build=True)
-
+ env = self.build_env()
return self.run_cargo_build_like_command(
"bench" if bench else "test",
args,