Closed
Bug 777520
Opened 12 years ago
Closed 12 years ago
Should get a list of all agent commands needed to run mochitest, reftest, eideticker for testing android
Categories
(Testing Graveyard :: SUTAgent, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: wlach, Unassigned)
References
Details
(Whiteboard: u=sutagent c=ateam p=1)
This would give us a good idea of what we need to do to get testing standing up on B2G devices for these frameworks. This will help us prioritize work on commands for the new agent. The fact that we only need a certain subset of commands for Android is no guarantee they'll be enough for B2G, but it's at least a starting point.
We can get this information by applying this patch to the agent:
https://bug776078.bugzilla.mozilla.org/attachment.cgi?id=645041
... and running logcat during the test.
Reporter | ||
Comment 1•12 years ago
|
||
(note I *could* work on this bug, but it doesn't have to be me)
Comment 2•12 years ago
|
||
do we care about the commands needed for sut_tools (installation, etc..), or just to run the tests with the current harnesses?
Comment 3•12 years ago
|
||
Just eyeballing the current mochitest B2G code, I'd say we need these implemented:
- exec
- hash
- testroot
- cd
- cwd
- push
- pull
- rm
- rmdr
- mkdr
- dirw
- isdir
- ls
- tmpd
- unzp
- rebt
- quit
We'll also need to be able to do the equivalent of "adb shell stop|start b2g". I'm not sure if we can use 'exec' for this; if not we may need 'ps' and 'kill' as well.
Implementing this set of commands should get us pretty close to being able to run mochitests on B2G via the SUTAgent.
Component: General → SUTAgent
Comment 4•12 years ago
|
||
and:
- ps
I am not sure about:
- unzp
- dirw
- isdir
- tmpd
Some of these I am not sure about could be used in xpcshell. But for mochitest and reftest it is just the rest of the commands and 'ps'.
Comment 5•12 years ago
|
||
can we close this bug? I believe we have all the commands as per the original bug request.
Reporter | ||
Comment 6•12 years ago
|
||
Let's resolve this, yes.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•