Closed Bug 694716 Opened 13 years ago Closed 13 years ago

Android mochitest-2 is broken, because it foolishly thought that xpconnect would forever be in js/src/xpconnect

Categories

(Release Engineering :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: philor, Assigned: bear)

References

Details

(Whiteboard: [android_tier_1][android][tegra])

Attachments

(1 file, 1 obsolete file)

Let me think how to put this... Hard-coding paths into the source tree from within a separate tree is a suboptimal solution to any problem, whatever that problem may be. Bug 691411 moved js/src/xpconnect to js/xpconnect. Android M2 has a hunk which runs --test-path js/src/xpconnect/tests/mochitest. Android M2 is hidden on mozilla-central, mozilla-inbound, and try, because those are the only trees I'll have enough time to hide it on.
Attached patch change mochitest-2 test path (obsolete) — Splinter Review
Assignee: nobody → bear
Attachment #567247 - Flags: review?
See Also: → 691411
Whiteboard: [android_tier_1][android][tegra]
Comment on attachment 567247 [details] [diff] [review] change mochitest-2 test path You didn't set a real reviewer here, but this does look right to me.
Attachment #567247 - Flags: review+
How will that work with m-a and m-b? Trunkish branches that haven't merged from m-c yet we can just break until they merge, that's no big deal, but m-a isn't going to have xpconnect move until November 8, and m-b isn't going to have it move until December 20th.
(In reply to Phil Ringnalda (:philor) from comment #3) > How will that work with m-a and m-b? Trunkish branches that haven't merged > from m-c yet we can just break until they merge, that's no big deal, but m-a > isn't going to have xpconnect move until November 8, and m-b isn't going to > have it move until December 20th. *sigh* good point - i may have to hack in something that adjusts the path for them and then remove it post-merge
Depends on: 694741
Comment on attachment 567247 [details] [diff] [review] change mochitest-2 test path clearing my review+ per philor's excellent point :/
Attachment #567247 - Flags: review+
just change: 'dom/src/json/test', 'dom/src/jsurl/test', 'dom/tests/mochitest/dom-level0', 'js/jsd/test', 'js/src/xpconnect/tests/mochitest' 'js/xpconnect/tests/mochitest' to: 'dom/src/json/test', 'dom/src/jsurl/test', 'dom/tests/mochitest/dom-level0', 'js' originally when we were doing this, we specified the lowest level directory. In this case we already run all the js/ tests. and wtf, why did we allow a checkin that breaks android?
Attachment #567247 - Flags: review? → review+
bear: you can assume r+ from me for a patch that implements joel's condensed list.
given a r+ by coop in the comments committed changeset 4904:db05ab9197c9
Attachment #567247 - Attachment is obsolete: true
Attachment #567295 - Flags: review+
Attachment #567295 - Flags: checked-in+
patch landed manually on test-master01 until I can do a full reconfig on monday
full reconfig done monday, closing
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: