Closed Bug 780641 Opened 12 years ago Closed 12 years ago

Bug 728294 breaks B2G mochitests

Categories

(Testing :: Mochitest, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla17

People

(Reporter: jgriffin, Assigned: ttaubert)

References

Details

Attachments

(1 file)

http://hg.mozilla.org/mozilla-central/rev/c10c3ac392d5 (from bug 728294) changed the signature of mochitest's waitForFinish method, but it didn't change the override that B2G uses in http://mxr.mozilla.org/mozilla-central/source/build/mobile/b2gautomation.py#108. 

As a result, attempting to run mochitests on B2G fails with:

Traceback (most recent call last):
  File "/data/jenkins/workspace/mochitest/objdir-gecko/_tests/testing/mochitest/runtests.py", line 695, in runTests
    timeout = timeout)
  File "/data/jenkins/workspace/mochitest/objdir-gecko/_tests/testing/mochitest/automation.py", line 993, in runApp
    status = self.waitForFinish(proc, utilityPath, timeout, maxTime, startTime, debuggerInfo, symbolsPath)
TypeError: waitForFinish() takes exactly 9 arguments (8 given)
OS: Windows 7 → All
Hardware: x86_64 → All
Attached patch trivial patchSplinter Review
Oops, sorry :/
Assignee: nobody → ttaubert
Status: NEW → ASSIGNED
Attachment #649329 - Flags: review?(jgriffin)
Comment on attachment 649329 [details] [diff] [review]
trivial patch

Thanks; I just verified the tests work after this patch.
Attachment #649329 - Flags: review?(jgriffin) → review+
I'm going to take the liberty of landing this directly in m-c, to unbreak the tests.
(In reply to Jonathan Griffin (:jgriffin) from comment #3)
> I'm going to take the liberty of landing this directly in m-c, to unbreak
> the tests.

Awesome, thanks.
https://hg.mozilla.org/mozilla-central/rev/cdc84c93ffe3
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: