Closed
Bug 872321
Opened 11 years ago
Closed 11 years ago
Make it possible to disable individual gaia unit tests
Categories
(Firefox OS Graveyard :: Gaia, defect)
Firefox OS Graveyard
Gaia
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jgriffin, Assigned: jgriffin)
References
Details
Attachments
(1 file)
It currently isn't possible to disable individual gaia unit tests, but we can add some sort of blacklist support to the Python testrunner used by buildbot. This would allow us to green up the tests by excluding perma-failures that aren't addressed soon, so we can roll out the tests to m-c, m-i, etc.
Assignee | ||
Comment 1•11 years ago
|
||
Pointer to Github pull-request
Assignee | ||
Updated•11 years ago
|
Attachment #751827 -
Flags: review?(mdas)
Comment 2•11 years ago
|
||
Comment on attachment 751827 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/9885 Cool, if anyone unfamiliar with python errors is going to add to disabled.json it might be helpful to add a try/catch around line 170: "disabled = json.loads(f.read())" in case their json is mangled and an unclear exception is thrown.
Attachment #751827 -
Flags: review?(mdas) → review+
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Malini Das [:mdas] from comment #2) > Comment on attachment 751827 [details] > Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/9885 > > Cool, if anyone unfamiliar with python errors is going to add to > disabled.json it might be helpful to add a try/catch around line 170: > "disabled = json.loads(f.read())" in case their json is mangled and an > unclear exception is thrown. Good point, I kept the exception but then print out a more human-friendly message, "Error while decoding disabled.json; please make sure this file has valid JSON syntax."
Assignee | ||
Comment 4•11 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/002322f147e5761b1244a808f6a82e3c7b85947f
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•