Closed
Bug 823703
Opened 12 years ago
Closed 12 years ago
Create and use an android-specific xpcshell manifest
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 20
People
(Reporter: gbrown, Assigned: gbrown)
References
Details
Attachments
(1 file)
2.19 KB,
patch
|
jmaher
:
review+
|
Details | Diff | Splinter Review |
To run android xpcshell tests in continuous integration, we want to start with a very small set of tests that we know will pass. As time permits, we will investigate failures and grow the list of supported tests.
We could use skip-if = os == 'android' in the main xpcshell.ini, but the preferred short-term solution is to create and use our own manifest, like xpcshell_b2g.ini.
Assignee | ||
Comment 1•12 years ago
|
||
I know that gfx/tests passes and has been well-behaved for many weeks now.
Sample run from a pandaboard:
mozdev@mozdev-virtual-machine:/media/extra/objdir-native-droid$ make -C gfx/tests xpcshell-tests-remote
make: Entering directory `/media/extra/objdir-native-droid/gfx/tests'
/media/extra/objdir-native-droid/_virtualenv/bin/python -u /home/mozdev/src/config/pythonpath.py \
-I/home/mozdev/src/build \
-I/home/mozdev/src/build/mobile \
-I/home/mozdev/src/testing/mozbase/mozdevice/mozdevice \
/home/mozdev/src/testing/xpcshell/remotexpcshelltests.py \
--symbols-path=../../dist/crashreporter-symbols \
--build-info-json=../../mozinfo.json \
--testing-modules-dir=../../_tests/modules \
\
--dm_trans=sut \
--deviceIP=192.168.0.111 \
--objdir=../.. \
../../_tests/xpcshell/gfx/tests/unit
using APK: ../../dist/fennec-20.0a1.en-US.android-arm.apk
Pushing libmozalloc.so..
Pushing libxul.so..
This is a big file, it could take a while.
Pushing libplc4.so..
Pushing libnss3.so..
Pushing libnssutil3.so..
Pushing libplds4.so..
Pushing libxpcom.so..
Pushing libsmime3.so..
Pushing libfreebl3.so..
Pushing libnssckbi.so..
Pushing libssl3.so..
Pushing libsoftokn3.so..
Pushing libmozsqlite3.so..
Pushing libnspr4.so..
pushing directory: ../../_tests/modules to /mnt/sdcard/tests/xpcshell/m
pushing ../../_tests/xpcshell (attempt 1 of 10)
pushing directory: ../../_tests/xpcshell to /mnt/sdcard/tests/xpcshell
TEST-INFO | /media/extra/objdir-native-droid/_tests/xpcshell/gfx/tests/unit/test_nsIScriptableRegion.js | running test ...
TEST-PASS | /media/extra/objdir-native-droid/_tests/xpcshell/gfx/tests/unit/test_nsIScriptableRegion.js | test passed (time: 797.169ms)
INFO | Result summary:
INFO | Passed: 1
INFO | Failed: 0
INFO | Todo: 0
make: Leaving directory `/media/extra/objdir-native-droid/gfx/tests'
Assignee | ||
Comment 2•12 years ago
|
||
There's *no* rush on this review -- we'll sort it out next year!
Attachment #694670 -
Flags: review?(jmaher)
Comment 3•12 years ago
|
||
Comment on attachment 694670 [details] [diff] [review]
create and use xpcshell_android.ini
Review of attachment 694670 [details] [diff] [review]:
-----------------------------------------------------------------
awesome! My only concern here is that the make target might confuse folks; I think we should stick with it and if tests are missing they can ensure the specific tests are passing ;)
Attachment #694670 -
Flags: review?(jmaher) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•