Closed Bug 1071746 Opened 11 years ago Closed 11 years ago

Add unit tests to validate json files in tools repo to avoid bustage

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pmoore, Assigned: pmoore)

References

Details

Attachments

(1 file, 1 obsolete file)

Add unit tests to avoid invalid json files getting checked in, e.g. bug 1071518.
Attached patch bug1071746_tools_v1.patch (obsolete) — Splinter Review
I'll scan other repos tomorrow to see if we want similar ones for other repos too, and will add them to this bug.
Assignee: nobody → pmoore
Status: NEW → ASSIGNED
Attachment #8493907 - Flags: review?(coop)
See Also: → 1071518
See Also: → 1066823
This is great, thank you for following up on root causes! :-)
Attachment #8493907 - Flags: review?(coop) → review?(mgervasini)
Based on your initial feedback on IRC, an updated patch...
Attachment #8493907 - Attachment is obsolete: true
Attachment #8493907 - Flags: review?(mgervasini)
Attachment #8495834 - Flags: review?(mgervasini)
Comment on attachment 8495834 [details] [diff] [review] bug1071746_tools_v2.patch Review of attachment 8495834 [details] [diff] [review]: ----------------------------------------------------------------- Hi Pete, works for me. Could you remove "#!/usr/bin/env python" before committing it? (the other tests do not have it)
Attachment #8495834 - Flags: review?(mgervasini) → review+
Attachment #8495834 - Flags: checked-in+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Component: Tools → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: