Closed Bug 563434 Opened 14 years ago Closed 12 years ago

Mochitest needs to output " INFO Running foobar.test " to the log before it starts a given test

Categories

(Testing :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: murali, Assigned: jgriffin)

Details

(Whiteboard: ateam)

Attachments

(1 obsolete file)

Mochitest needs to output " INFO Running foobar.test " to the log before it starts a given test

Currently, if there is a test failure due to time out, we are not able to figure out what test has timed out exactly. 

This should be a minor change and a low hanging fruit to implement ASAP.
Assignee: ctalbert → jgriffin
can you verify with releng that the tinderbox parsers would not be affected by this?

I would make the change here:
http://mxr.mozilla.org/mozilla-central/source/testing/mochitest/tests/SimpleTest/TestRunner.js#147

Murali, is this the type of output you are interested in:
INFO | tests/content/base/test/test_title.html | Starting Test.
Attached patch SimpleTest patch (obsolete) — Splinter Review
It turns out that mochitest can already do this, but this change turns this on by default.
Attachment #443178 - Flags: review?(ted.mielczarek)
Murali, whether or not this change gets checked in, you can cause mochitest to work as you want by adding --console-level=DEBUG to your command-line.
Jgriffin, thanks for the top. I am scraping results from Tinderbox and so, I would very much appreciate your patch getting approved :)
Actually this patch is bogus, this already works on m-c.  Are you working on another branch and find this doesn't work?  We may just need to port an existing fix to 1.9.3 et al.
Attachment #443178 - Attachment is obsolete: true
Attachment #443178 - Flags: review?(ted.mielczarek)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Component: Infrastructure → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: