Open Bug 676963 Opened 13 years ago Updated 2 years ago

xpcshell test ipc/testshell/tests/test_ipcshell.js fails on Android

Categories

(Core :: IPC, defect)

x86
Android
defect

Tracking

()

People

(Reporter: gbrown, Unassigned)

Details

(Whiteboard: [mobile-testing][xpcshell])

Attachments

(1 file)

With patches for bug 668349 and 668351, xpcshell tests can be run on an Android device, and the majority of tests pass. 

However, ipc/testshell/tests/test_ipcshell.js consistently fails when run on Android.
Whiteboard: [mobile-testing][xpcshell]
What's the failure message?
Attached file output from test
This log shows the output from:

 make SOLO_FILE=test_ipcshell.js -C ipc/testshell check-one-remote

(there are a lot of warnings and error messages).
Attachment #551183 - Attachment mime type: text/x-log → text/plain
Lots of scary things in there, but the Real Bug is

typein:Error: cannot open file 'test_ipcshell_child.js' for reading
typein:ReferenceError: runtime is not defined

Looks like some search path or packaging step isn't being done right for android.
I verified that test_ipcshell.js and test_ipcshell_child.js are in the same directory in the Android environment. Also note that we cd to the test's "here" directory (the directory containing test_ipcshell.js and test_ipcshell_child.js: /data/local/tests/xpcshell/ipc/testshell/tests) immediately before executing xpcshell.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: