Open Bug 1215325 Opened 4 years ago Updated 4 years ago

Need an option to suppress stack traces when test fails

Categories

(Testing :: Mochitest, defect)

defect
Not set

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.)
You need to log in before you can comment on or make changes to this bug.