Skip to content

Commit

Permalink
Merge pull request #161 from w3c/rust_backtrace
Browse files Browse the repository at this point in the history
Ensure RUST_BACKTRACE is set when running servo tests; r=Manishearth
  • Loading branch information
Ms2ger committed Nov 11, 2015
2 parents 109fc99 + d50a398 commit 66213f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions wptrunner/browsers/servodriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ def start(self):

env = os.environ.copy()
env["HOST_FILE"] = self.hosts_path
env["RUST_BACKTRACE"] = "1"

debug_args, command = browser_command(self.binary,
[render_arg(self.render_backend), "--hard-fail",
Expand Down
3 changes: 2 additions & 1 deletion wptrunner/executors/executorservo.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def do_test(self, test):

env = os.environ.copy()
env["HOST_FILE"] = self.hosts_path

env["RUST_BACKTRACE"] = "1"


if not self.interactive:
Expand Down Expand Up @@ -217,6 +217,7 @@ def screenshot(self, test):

env = os.environ.copy()
env["HOST_FILE"] = self.hosts_path
env["RUST_BACKTRACE"] = "1"

if not self.interactive:
self.proc = ProcessHandler(self.command,
Expand Down

0 comments on commit 66213f4

Please sign in to comment.