Closed
Bug 1160539
Opened 9 years ago
Closed 9 years ago
Package mach in tests.zip and create bootstrap script for a test package environment
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1058923
People
(Reporter: ahal, Assigned: ahal)
Details
It's always been really hard to run tests from a downloaded tests.zip (i.e without an objdir). We'd like to provide at least an obvious way of invoking a test harness without needing to ping irc or sift through docs on MDN. Mach is the logical choice for command discovery. Chris, I'm not sure how close you are to landing your tests.zip split up patch.. but this should have minimal impact as this is stuff that should go into the "common.zip" (or whatever its equivalent is).
Comment 1•9 years ago
|
||
I know we talked about this a bit, but putting the mach script inside the test package still leaves you with a bootstrapping problem, in that you have to know where to find and download the test packages before you can run mach.
Assignee | ||
Comment 2•9 years ago
|
||
I think that's a separate problem which this isn't intended to solve. This will give developers an easy way to see which test harnesses they can run from a test bundle and provide defaults where possible (i.e --testing-modules-dir=modules) and sane error messages where it's not. Most of this logic is being implemented within the test harness itself as part of the effort to consolidate the mach/mozharness entry points. This bug is more of a minor convenience that's made easy by the other work. As for the problem of downloading the tests.zip, I see no reason why we can't have an in-tree mach command capable of that as well.
Comment 3•9 years ago
|
||
I'm trying to get the harness split landed in the next month (the first part is about ready for review). Like you said, this should be minimal impact, there's a small amount of logic that will be in mozharness to download and unpack required zips we can borrow here. Is this a dupe or dependency of bug 1058923? People following that bug might be interested.
Assignee | ||
Comment 4•9 years ago
|
||
Lol, that's embarrassing. It's even assigned to me.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•