Closed Bug 975442 Opened 11 years ago Closed 11 years ago

B2G Emulator: fails to run crashtest, marionette, mochitest, and reftest on KitKat emulator

Categories

(Firefox OS Graveyard :: Emulator, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: vicamo, Assigned: vicamo)

References

Details

Attachments

(1 file, 2 obsolete files)

+++ This bug was initially created as a clone of Bug #957526 +++ crashtest, mochitest, reftest: is_emulator - Emulator needs to be configured marionette-webapi: must specify --binary, --emulator or --address xpcshell: ok
Looks like `sdk/emulator/mksdcard` is no longer in the default dependency list. Gives a python "No such file or directory" exception. Just run `./build.sh mksdcard` will do.
Attached patch patch : WIP (obsolete) (deleted) — Splinter Review
This enables crashtest/marionette/reftest.
Assignee: nobody → vyang
Attached file error-mochitest.txt (obsolete) (deleted) —
Still fails to run mochitest on emulator-kk: "Error creating directory: read only file system"
Known working example: $ ./test.sh xpcshell $ ./mach marionette-webapi $ ./mach reftest-remote gecko/layout/xul/grid/reftests/reftest.list $ ./mach crashtest-remote gecko/layout/forms/crashtests/crashtests.list
(In reply to Vicamo Yang [:vicamo][:vyang] from comment #3) > Still fails to run mochitest on emulator-kk: "Error creating directory: read > only file system" Don't seem to have this anymore. |./build.sh mksdcard| before running mochitest tests, then it works.
Rebase & re-gen from hg.
Attachment #8379789 - Attachment is obsolete: true
Attachment #8403047 - Flags: review?(jgriffin)
Comment on attachment 8379792 [details] error-mochitest.txt Obsolete per comment 5.
Attachment #8379792 - Attachment is obsolete: true
Bug 965542 added mksdcard back to emulator-jb PRODUCT_PACKAGES directly. Will follow.
Depends on: 965542
Comment on attachment 8403047 [details] [diff] [review] patch: recognize as emulator if device name begins with 'emulator' Review of attachment 8403047 [details] [diff] [review]: ----------------------------------------------------------------- Thanks.
Attachment #8403047 - Flags: review?(jgriffin) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Blocks: 753928
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: