Closed
Bug 914327
Opened 11 years ago
Closed 11 years ago
B2G mach target should handle test_path better
Categories
(Testing :: Mochitest, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla26
People
(Reporter: ahal, Assigned: ahal)
Details
Attachments
(1 file)
1.89 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
Right now the mochitest mach target for b2g just passes in the value of test_path to --test-path in the mochitest harness. This means you need to be very specific about the value you use, making running individual tests or directories unintuitive. The desktop version of the mochitest mach command does some checks so absolute paths, directories, etc.. can also be used. The b2g command should follow suit.
Assignee | ||
Comment 1•11 years ago
|
||
I wanted to move some of the shared logic into the constructor, but the MozbuildObject._spawn() method requires the MochitestRunner class to have the same signature, and it was only one or two lines anyway so decided against a helper method.
Attachment #802567 -
Flags: review?(jgriffin)
Comment 2•11 years ago
|
||
Comment on attachment 802567 [details] [diff] [review] mochitest_commands Review of attachment 802567 [details] [diff] [review]: ----------------------------------------------------------------- Nice, thanks.
Attachment #802567 -
Flags: review?(jgriffin) → review+
Assignee | ||
Comment 3•11 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/db0a833aee39
Comment 4•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/db0a833aee39
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•