Closed Bug 872321 Opened 12 years ago Closed 12 years ago

Make it possible to disable individual gaia unit tests

Categories

(Firefox OS Graveyard :: Gaia, defect)

defect
Not set
normal

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.
Attachment #751827 - Flags: review?(mdas)
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+
(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."
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: