Closed Bug 787458 Opened 8 years ago Closed 3 years ago

Get stack traces out of C++ unit tests

Categories

(Testing :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: ted, Unassigned)

References

Details

Our C++ unit tests are a mess in general, but one annoying thing is that we can't get stack traces out of them. It's not a huge amount of work to make this happen, the main issue is just that we don't have a consistent C++ test framework, so we'll have to change a lot of tests.
Depends on: 787176
Depends on: 787459
I modified a few of the signaling/mtransport tests on alder to have this:
https://hg.mozilla.org/projects/alder/rev/39d4de172509

Combined with the script from bug 787176, they will print stacks when they crash. This is hard to solve universally because our C++ unit tests don't have any uniformity. We'll basically have to rewrite them all to make this work.
Mass closing bugs with no activity in 2+ years. If this bug is important to you, please re-open.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.