aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/testing_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r--python/servo/testing_commands.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index de77c85c285..8a8c41597b9 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -255,12 +255,9 @@ class MachCommands(CommandBase):
packages.discard('stylo')
- env = self.build_env()
+ env = self.build_env(test_unit=True)
env["RUST_BACKTRACE"] = "1"
- # Work around https://github.com/rust-lang/cargo/issues/4790
- del env["RUSTDOCFLAGS"]
-
if "msvc" in host_triple():
# on MSVC, we need some DLLs in the path. They were copied
# in to the servo.exe build dir, so just point PATH to that.