Closed
Bug 1049085
Opened 11 years ago
Closed 11 years ago
Robocop SUITE-START message wrong when TEST_PATH is set
Categories
(Testing :: Mochitest, defect)
Tracking
(firefox33 fixed, firefox34 fixed)
RESOLVED
FIXED
mozilla34
People
(Reporter: gbrown, Assigned: akachkach)
References
Details
Attachments
(1 file, 1 obsolete file)
|
3.19 KB,
patch
|
jmaher
:
review+
|
Details | Diff | Splinter Review |
This is not a big deal, but a little disconcerting, when running a single robocop test locally:
gbrown@mozpad:~/objdirs/droid$ export TEST_PATH=testNewTab
gbrown@mozpad:~/objdirs/droid$ make mochitest-robocop
0 INFO Device info: {}
1 INFO Test root: /sdcard/tests
2 INFO Android sdk version '12'; will use this to filter manifests
3 INFO SUITE-START | Running 61 tests
pk12util: PKCS12 IMPORT SUCCESSFUL
...
| Reporter | ||
Comment 1•11 years ago
|
||
This is a little odd on tbpl too, presumably because of chunking?
https://tbpl.mozilla.org/php/getParsedLog.php?id=45256473&tree=Mozilla-Central&full=1
09:43:30 INFO - 3 INFO SUITE-START | Running 61 tests
09:43:30 INFO - 4 INFO Running tests 1-16/61
https://tbpl.mozilla.org/php/getParsedLog.php?id=45257118&tree=Mozilla-Central&full=1
10:00:10 INFO - 3 INFO SUITE-START | Running 61 tests
10:00:10 INFO - 4 INFO Running tests 17-32/61
| Assignee | ||
Comment 2•11 years ago
|
||
This seems to be because of some ulterior filtering done to the robocop tests:
http://dxr.mozilla.org/mozilla-central/source/testing/mochitest/runtestsremote.py#683
I'll try a quick fix for this.
| Assignee | ||
Comment 3•11 years ago
|
||
This should get it done.
Try run: https://tbpl.mozilla.org/?tree=Try&rev=20fa002d71fb
Attachment #8468004 -
Flags: review?(jmaher)
Updated•11 years ago
|
Comment 4•11 years ago
|
||
Comment on attachment 8468004 [details] [diff] [review]
0001-Bug-1049085-Correct-list-of-tests-for-the-robocop-su.patch
Review of attachment 8468004 [details] [diff] [review]:
-----------------------------------------------------------------
::: testing/mochitest/runtestsremote.py
@@ +675,5 @@
> dm._checkCmd(["install", "-r", options.robocopApk])
>
> + active_tests = [t['name'] for t in robocop_tests if not (options.testPath and options.testPath != t['name']) and
> + t['name'] in my_tests and
> + 'disabled' in t]
this really should be formatted easier. While it is understandable we have 4 conditions we are checking for and we should either simplify that list or make this a for loop.
Attachment #8468004 -
Flags: review?(jmaher) → review-
| Assignee | ||
Comment 5•11 years ago
|
||
Updated patch.
Try run here: https://tbpl.mozilla.org/?tree=Try&rev=37145f5b7895
(could you confirm the numbers shown make sense?)
Attachment #8468004 -
Attachment is obsolete: true
Attachment #8468732 -
Flags: review?(jmaher)
Comment 6•11 years ago
|
||
Comment on attachment 8468732 [details] [diff] [review]
0001-Bug-1049085-Correct-list-of-tests-for-the-robocop-su.patch
Review of attachment 8468732 [details] [diff] [review]:
-----------------------------------------------------------------
much better.
Attachment #8468732 -
Flags: review?(jmaher) → review+
| Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 7•11 years ago
|
||
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Comment 8•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → mozilla34
Comment 9•11 years ago
|
||
status-firefox33:
--- → fixed
status-firefox34:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•