Closed
Bug 598366
Opened 15 years ago
Closed 15 years ago
remote logging with mochitest needs a little love for android and large files
Categories
(Testing :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jmaher, Assigned: jmaher)
References
Details
Attachments
(1 file, 1 obsolete file)
|
2.98 KB,
patch
|
cmtalbert
:
review+
|
Details | Diff | Splinter Review |
In testing mochitest on android, I found a few issues with log file names and copying them.
With this patch and my mochikit.jar (bug 543800), I am running end to end mochitests (with a LOT of failures) on my android device.
Attachment #477179 -
Flags: review?(ctalbert)
| Assignee | ||
Comment 1•15 years ago
|
||
ok, ctalbert found a case that I didn't take care of.
for reference, here is a command line that should work:
python runtestsremote.py --app=org.mozilla.fennec --autorun --certificate-path=../certs --utility-path=../bin --xre-path=../firefox --http-port=9991 --ssl-port=9992 --close-when-done --deviceIP=192.168.1.101 --timeout=600 --test-path=content/xml --log-file=content-xml.log --remote-logfile=content-xml.log
You can also ignore the --remote-logfile cli argument and it will default to test.log and copy the results at the end into content-xml.log on the host machine.
Assignee: nobody → jmaher
Attachment #477179 -
Attachment is obsolete: true
Attachment #477190 -
Flags: review?(ctalbert)
Attachment #477179 -
Flags: review?(ctalbert)
Attachment #477190 -
Flags: review?(ctalbert) → review+
Actually this patch isn't complete. It calls RemoteAutomation.setRemoteLog but you don't implement RemoteAutomation::setRemoteLog in this patch.
| Assignee | ||
Comment 3•15 years ago
|
||
Just for the record, this was landed in bug 595294. I believe Clint had a different repo checked out when he was looking into this issue. He has verified this patch works as expected.
Comment 4•15 years ago
|
||
So, is this bug fixed?
| Assignee | ||
Comment 5•15 years ago
|
||
oh, wait. My comment #3 was confusing as it was discussing the missing function in Comment #2. This patch hasn't landed yet...let me double check for bitrot
| Assignee | ||
Comment 6•15 years ago
|
||
ok, no bitrot.
Comment 7•15 years ago
|
||
So, this patch is ready to land? Just trying to make sure I get this right.
| Assignee | ||
Comment 8•15 years ago
|
||
yes, this patch is waiting to land. The confusion from comments #2/#3 were regarding a bad copy of mozilla-central. This patch is ready to land with no bitrot (and only affects remote testing specific files)
Comment 9•15 years ago
|
||
Comment 10•15 years ago
|
||
(In reply to comment #9)
> Added here:
>
> https://wiki.mozilla.org/LandingQueue#Landing_Queue_for_Mozilla-Central
well, that was naive of me. I just pushed it on my own:
http://hg.mozilla.org/mozilla-central/rev/3b74162fcbf5
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Component: New Frameworks → General
You need to log in
before you can comment on or make changes to this bug.
Description
•