Closed Bug 697405 Opened 13 years ago Closed 10 years ago

cfx testall should tell if all tests pass or not

Categories

(Add-on SDK Graveyard :: General, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1093385

People

(Reporter: irakli, Unassigned)

References

Details

cfx testall should tell how many tests failed in total in all packages it was running, otherwise it hard to track what failed and where.
Before no runtime search, we used to have at the end of cfx testall -v execution: 4900 of 4906 tests passed. The following tests failed: test-ipc.testOne: timed out test-low-level-ipc.testIPC: timed out test-content-proxy.testXPathResult: timed out test-sandbox.testLoadSubscript: timed out test-l10n.testExactMatching: exception test-l10n.testPartialMatching: exception FAIL Total time: 334.473000 seconds Program terminated unsuccessfully. Some tests were unsuccessful. Now, with work from https://github.com/mozilla/addon-sdk/pull/249 each package is executed independently, so that we don't get the result of addon-kit+api-utils. The problem is that even before this change, we didn't had any idea of example or testcfx failures. So I think landing pull request 249 is fine, we can postpone such improvement. At the end of cfx testall, we should know, at least, which package or test failed Then it would be really cool, with -v option, to have the list of all failing unit tests.
Blocks: cfx.py
OS: Mac OS X → All
Hardware: x86 → All
Irakli can we wontfix this one?
Flags: needinfo?(rFobic)
running `npm test` on the addon-sdk repo does this now.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
removing this ni
Flags: needinfo?(rFobic)
You need to log in before you can comment on or make changes to this bug.