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)

x86_64
Linux
defect
Not set
normal

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.
(note I *could* work on this bug, but it doesn't have to be me)
do we care about the commands needed for sut_tools (installation, etc..), or just to run the tests with the current harnesses?
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
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'.
Blocks: 696967
Whiteboard: [u=sutagent c=ateam p=1]
Whiteboard: [u=sutagent c=ateam p=1] → u=sutagent c=ateam p=1
can we close this bug? I believe we have all the commands as per the original bug request.
Let's resolve this, yes.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.