Closed Bug 586502 Opened 15 years ago Closed 15 years ago

Test harness hangs on Minefield

Categories

(Firefox :: Sync, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: philikon, Assigned: philikon)

Details

(Whiteboard: [qa-])

Attachments

(1 file, 2 obsolete files)

Regression range: * Works with 20100809030718 fb0c72c4bfb3 * Hangs with 20100810031021 905529619219 My bet is on bug 579178.
So this seems to be caused by the fact that Minefield no longer works as XULRunner (which is how the test harness works). Tested this with the Hello World XULRunner app from MDC... Minefield doesn't open the app's window but instead boots into a half-baked browser (without any windows open by default).
Attached patch make xpcshell-tests (obsolete) — Splinter Review
Instead of trying to make our byzantine test harness work on Minefield-as-xulrunner, here's a make rule that runs the tests in the xpcshell as found in trunk builds. The advantage is that we can actually see how a test behaves on trunk *before* merging. One needs to define the MOZILLA and MOZ_OBJDIR env variables. The former points to a mozilla-central checkout, the latter to an objdir with a complete build.
Assignee: nobody → philipp
Attachment #481483 - Flags: review?(mconnor)
Attachment #481483 - Attachment description: make xpcshell → make xpcshell-tests
Attached patch xpcshell make rules (v2) (obsolete) — Splinter Review
Support make check-one as well.
Attachment #481483 - Attachment is obsolete: true
Attachment #481489 - Flags: review?(mconnor)
Attachment #481483 - Flags: review?(mconnor)
Actually run the tests against the add-on code, too. (Only the resource://services-sync/ code is taken from add-on, not the XPCOM components, but they're going away anyway.)
Attachment #481489 - Attachment is obsolete: true
Attachment #481541 - Flags: review?(mconnor)
Attachment #481489 - Flags: review?(mconnor)
Attachment #481541 - Flags: review?(mconnor) → review+
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: