Closed Bug 817122 Opened 12 years ago Closed 12 years ago

Figure out which xpcshell tests to initially run on b2g and create an xpcshell_b2g.ini

Categories

(Testing :: XPCShell Harness, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(firefox19 fixed, firefox20 fixed)

RESOLVED FIXED
Tracking Status
firefox19 --- fixed
firefox20 --- fixed

People

(Reporter: ahal, Assigned: ahal)

References

Details

(Whiteboard: [leave-open])

Attachments

(2 files)

Due to the same reasons we can't enable all reftests and mochitests on the emulator (linux slave load), we don't have the capacity to turn on all xpcshell tests either.

I think the best strategy is to initially have a very small subset of tests running. These would definitely include the gonk tests (bug 810547) and the update tests (bug 787578).

Are there any other tests that are important to enable asap?
This patch will add an xpcshell_b2g.ini manifest.

Notes:
1) I populated it with a handful of manifests that seemed relevant to B2G based on their file paths
2) This is by no means the final set of tests we are running, just a baseline that I arbitrarily chose. Tests can still be added/removed on demand
3) Once we are running a larger set of tests, I plan to remove the xpcshell_b2g.ini file and switch back to using the canonical location.
4) If you have other tests you want to see enabled immediately, please comment in this bug.

See also: https://groups.google.com/forum/?fromgroups=#!topic/mozilla.dev.b2g/0ryaHNSMNaQ
Attachment #687820 - Flags: review?(jgriffin)
Comment on attachment 687820 [details] [diff] [review]
Patch 1.0 - initial patch to add xpcshell_b2g.ini

Review of attachment 687820 [details] [diff] [review]:
-----------------------------------------------------------------

Awesome!
Attachment #687820 - Flags: review?(jgriffin) → review+
Xpcshell tests could possibly be live on cedar as early as tomorrow with this manifest. I'll leave this bug open for triaging and getting feedback on other sets of tests to enable.
I want to have the debugger unit tests running against b2g (toolkit/devtools/debugger/tests/unit/). Can we add them please?
(In reply to Panos Astithas [:past] from comment #5)
> I want to have the debugger unit tests running against b2g
> (toolkit/devtools/debugger/tests/unit/). Can we add them please?

I enabled it on cedar. Once everything's ready to land on the core branches I'll enabled it there too.
Panos, just a heads up, it looks like all of the breakpoint tests fail: https://tbpl.mozilla.org/php/getParsedLog.php?id=17688432&tree=Cedar

It may or may not be a harness error, it's hard for me to tell. For now I'll be disabling them.
Depends on: 819399
Attachment #691339 - Flags: review?(mdas) → review+
The tests got enabled much quicker than I was expecting (before a merge from m-c -> inbound could happen).

I had to check this patch into inbound as well to get rid of the red:
https://hg.mozilla.org/integration/mozilla-inbound/rev/b2b5567fe14a

Hope it doesn't cause merge problems :/
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: