Closed Bug 1209312 Opened 9 years ago Closed 9 years ago

Bring back xpcshell support for |./mach test|

Categories

(Testing :: XPCShell Harness, defect)

defect
Not set
normal

Tracking

(firefox44 fixed)

RESOLVED FIXED
mozilla44
Tracking Status
firefox44 --- fixed

People

(Reporter: chmanchester, Unassigned)

References

Details

Attachments

(1 file)

The test_objects stuff is gone.
Bug 1209312 - Accept test_objects in testing/xpcshell/mach_commands.py to support |./mach test|. r=jgraham
Attachment #8666989 - Flags: review?(james)
Comment on attachment 8666989 [details] MozReview Request: Bug 1209312 - Accept test_objects in testing/xpcshell/mach_commands.py to support |./mach test|. r=jgraham https://reviewboard.mozilla.org/r/20631/#review18533 ::: testing/xpcshell/mach_commands.py:343 (Diff revision 1) > + m = TestManifest() In general I'm not convinced about this pattern where we construct a TestManifest object in mach rather than just passing the path in and letting the harness deal with it. I thought we had decided we wanted mach to be a thin wrapper that just set arguments based on the local environment. But not a blocker to landing this if you think this design has some advantage.
Attachment #8666989 - Flags: review?(james) → review+
https://reviewboard.mozilla.org/r/20631/#review18533 > In general I'm not convinced about this pattern where we construct a TestManifest object in mach rather than just passing the path in and letting the harness deal with it. I thought we had decided we wanted mach to be a thin wrapper that just set arguments based on the local environment. > > But not a blocker to landing this if you think this design has some advantage. I'm not particularly fond of the design, but it's needed for mach test. This is just fixing a regression.
https://reviewboard.mozilla.org/r/20631/#review18533 > I'm not particularly fond of the design, but it's needed for mach test. This is just fixing a regression. It isn't really neded for mach test, you can just pull out the manifest path from the data in test_objects and pass that through to the harness, rather than first constructing a manifest. Anyway, like I say you don't have to change this since it's a pattern that's used elsewhere. I just think it's not better than the alternative.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: