Closed
Bug 980251
Opened 10 years ago
Closed 10 years ago
Provide a simple way to run the test runner in B2G Desktop
Categories
(Firefox OS Graveyard :: Gaia::TestAgent, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: julienw, Assigned: julienw)
Details
Attachments
(1 file)
No description provided.
Assignee | ||
Comment 1•10 years ago
|
||
Make bin/gaia-test takes an option to run in B2G Desktop instead of Firefox bin/gaia-test | 161 +++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 115 insertions(+), 46 deletions(-) I used "-d" instead of "-b" because I thought that "-b" could be used in a follow-up patch to specify the binary to use (instead of using the second argument). We could also use "-g" to specify the gaia dir, while still retaining the current way.
Attachment #8386671 -
Flags: review?(bkelly)
Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8386671 [details] [review] github PR Rik, I know you use this script too, so I'd value your feedback on this.
Attachment #8386671 -
Flags: feedback?(anthony)
Comment 3•10 years ago
|
||
Comment on attachment 8386671 [details] [review] github PR Looks good except for a typo in the getops logic. I assume you switched from -b to -d at the last minute. After fixing that I'm able to select b2g-desktop, have it download, and run. I don't have a convenient place to fully run the tests at the moment (headless linux VM), but it seems to run correctly. It might be nice to have some safety checks using --version on the binary to see if someone says "use b2g-desktop" but then specifies a firefox binary on the command line. I don't think thats worth holding back for, though.
Attachment #8386671 -
Flags: review?(bkelly) → review+
Assignee | ||
Comment 4•10 years ago
|
||
(In reply to Ben Kelly [:bkelly] from comment #3) > Comment on attachment 8386671 [details] [review] > github PR > > Looks good except for a typo in the getops logic. I assume you switched > from -b to -d at the last minute. oops :) yep ! > > After fixing that I'm able to select b2g-desktop, have it download, and run. > I don't have a convenient place to fully run the tests at the moment > (headless linux VM), but it seems to run correctly. > > It might be nice to have some safety checks using --version on the binary to > see if someone says "use b2g-desktop" but then specifies a firefox binary on > the command line. I don't think thats worth holding back for, though. Yep, I didn't exactly know which one we wanted, so I said, well, most of users will download it, and users that specify a specific binary know what they do. Thanks !
Assignee | ||
Comment 5•10 years ago
|
||
Pushed the fixed version to the PR. I'll give a chance to Anthony to answer and otherwise I'll merge tonight.
Assignee | ||
Comment 6•10 years ago
|
||
master: 04eb7996543f114133d1367f834a4d88b68c60ac
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•10 years ago
|
||
Anthony, if you have any concern, please file a bug :)
Comment 8•10 years ago
|
||
Comment on attachment 8386671 [details] [review] github PR Nope, it works well locally so good for me. It should probably be mentioned on https://developer.mozilla.org/en-US/Firefox_OS/Platform/Automated_testing/Gaia_unit_tests ?
Attachment #8386671 -
Flags: feedback?(anthony) → feedback+
Assignee | ||
Comment 10•10 years ago
|
||
Updated a lot of https://developer.mozilla.org/en-US/Firefox_OS/Platform/Automated_testing/Gaia_unit_tests
Flags: needinfo?(felash)
You need to log in
before you can comment on or make changes to this bug.
Description
•