Closed Bug 598366 Opened 14 years ago Closed 14 years ago

remote logging with mochitest needs a little love for android and large files

Categories

(Testing :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jmaher, Assigned: jmaher)

References

Details

Attachments

(1 file, 1 obsolete file)

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)
Blocks: 579566
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.
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.
So, is this bug fixed?
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
ok, no bitrot.
So, this patch is ready to land? Just trying to make sure I get this right.
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)
(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: 14 years ago
Resolution: --- → FIXED
Component: New Frameworks → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: