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.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py
index 8140027ae97..4346fe6b7f6 100644
--- a/python/servo/testing_commands.py
+++ b/python/servo/testing_commands.py
@@ -188,7 +188,11 @@ class MachCommands(CommandBase):
for crate in packages:
args += ["-p", "%s_tests" % crate]
args += test_patterns
- result = call(args, env=self.build_env(), cwd=self.servo_crate())
+
+ env = self.build_env()
+ env["RUST_BACKTRACE"] = "1"
+
+ result = call(args, env=env, cwd=self.servo_crate())
if result != 0:
return result