Closed Bug 695556 Opened 13 years ago Closed 5 years ago

allow remote tests to run with a python webserver instead of xpcshell+httpd.js

Categories

(Testing :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jmaher, Assigned: jmaher)

Details

(Whiteboard: [mozbase])

Attachments

(1 file)

it is very difficult to setup testing for android.  One of the most confusing pieces is the requirement for a host binary and tests package.
this patch is not in a reviewable state, but does work for desktop mochitest and remote reftests.  Probably about 75% done atm.
Assignee: nobody → jmaher
Status: NEW → ASSIGNED
here is an example command line I ran to do this:
python remotereftest.py --app org.mozilla.fennec --dm_trans=adb --deviceIP=1.2.3.4 --ignore-window-size tests/layout/reftests/reftest-sanity/reftest.list
these fail on a tegra for reftest-1 vs the xpcshell webserver:
REFTEST TEST-UNEXPECTED-FAIL | http://10.250.48.199:8888/tests/image/test/reftest/jpeg/webcam-simulacrum.mjpg | load failed: null
REFTEST TEST-UNEXPECTED-FAIL | http://10.250.48.199:8888/tests/image/test/reftest/gif/webcam.html | image comparison (==) 
REFTEST TEST-UNEXPECTED-FAIL | http://10.250.48.199:8888/tests/image/test/reftest/generic/accept-image-catchall.html | image comparison (==) 
REFTEST TEST-UNEXPECTED-FAIL | http://10.250.48.199:8888/tests/layout/reftests/backgrounds/root-background-1.html | image comparison (!=)
Whiteboard: [mozbase]
Component: New Frameworks → General
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: