diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index b99dd147b9a..ca62548294f 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -207,7 +207,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