Closed Bug 1388423 Opened 2 years ago Closed 2 years ago

Ensure tests run with RUST_BACKTRACE=full

Categories

(Testing :: General, enhancement)

enhancement
Not set

Tracking

(firefox57 fixed)

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: kats, Assigned: kats)

Details

Attachments

(1 file)

In bug 1339458 I made sure that tests run with RUST_BACKTRACE=1 in the env, so that we get rust backtraces on crashes. Since then, it appears rustc has changed behaviour so that RUST_BACKTRACE=1 only prints an abbreviated version of the backtrace, and you have to pass RUST_BACKTRACE=full to get the full thing. So we should do that, because the abbreviated one doesn't have line numbers and is not so useful.
Comment on attachment 8894972 [details]
Bug 1388423 - Get full rust backtraces everywhere.

https://reviewboard.mozilla.org/r/166082/#review171278

big old rubber stamp!
Attachment #8894972 - Flags: review?(jmaher) → review+
Pushed by kgupta@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/eda635af7fe2
Get full rust backtraces everywhere. r=jmaher
https://hg.mozilla.org/mozilla-central/rev/eda635af7fe2
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in before you can comment on or make changes to this bug.