Closed
Bug 673141
Opened 15 years ago
Closed 13 years ago
make manifestparser tests output like other tests
Categories
(Testing :: Mozbase, defect)
Testing
Mozbase
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: k0scist, Assigned: k0scist)
Details
(Whiteboard: fixed-in-bs)
ManifestDestiny outputs on success like:
(mozmill)│python tests/test.py
manifestparser.py: All tests pass!
test_expressionparser.txt: failed=0, attempted=50
test_manifestparser.txt: failed=0, attempted=82
test_testmanifest.txt: failed=0, attempted=11
this should look more like
TEST-PASS | manifestparser.py | test_expressionparser.txt: failed=0, attempted=50
...
While this is easy to do for the passing case, doctest has its own
output system for failing cases, so its harder than just changing some
print statements.
Ideally, some sort of universal logging module could be used for this
https://wiki.mozilla.org/Auto-tools/Projects/MozBase#Logging_MozLog_Package
But, as with the standard caveats:
* ManifestDestiny doesn't live in m-c ; it is just mirrored there. So
as such it is logistically difficult to rely on other python
packages/modules
* We have no sane way of importing python modules in the build
environment. This would need to be fixed too
Comment 1•15 years ago
|
||
Pushed to b-s:
http://hg.mozilla.org/projects/build-system/rev/92c79828c98c
Assignee: nobody → jhammel
Whiteboard: fixed-in-bs
| Assignee | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•13 years ago
|
Component: ManifestParser → Mozbase
You need to log in
before you can comment on or make changes to this bug.
Description
•