Open Bug 1215325 Opened 7 years ago Updated 4 months ago

Need an option to suppress stack traces when test fails

Categories

(Testing :: Mochitest, defect)

defect

Tracking

(Not tracked)

People

(Reporter: hiro, Unassigned)

Details

./mach mochitest always outputs stack traces whenever test fails, but sometimes developers want to hide the traces. I guess it's in case of deep trace?.

We should add an option to suppress the stack traces or outputs the traces only if "-v" option is specified?
It's especially for the case when you have, say, 10~15 failing tests. The stack traces make it hard to grep which tests failed. (On consoles with a limited buffer sometimes you can exhaust the buffer to the point where you can't even see what the first failure was.)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.