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

RESOLVED WORKSFORME

Status

RESOLVED WORKSFORME
9 years ago
5 years ago

People

(Reporter: murali, Assigned: jgriffin)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: ateam)

Attachments

(1 obsolete attachment)

(Reporter)

Description

9 years ago
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.
(Reporter)

Updated

9 years ago
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.
(Assignee)

Comment 2

9 years ago
Created attachment 443178 [details] [diff] [review]
SimpleTest patch

It turns out that mochitest can already do this, but this change turns this on by default.
Attachment #443178 - Flags: review?(ted.mielczarek)
(Assignee)

Comment 3

9 years ago
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.
(Reporter)

Comment 4

9 years ago
Jgriffin, thanks for the top. I am scraping results from Tinderbox and so, I would very much appreciate your patch getting approved :)
(Assignee)

Comment 5

9 years ago
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.
(Assignee)

Updated

9 years ago
Attachment #443178 - Attachment is obsolete: true
Attachment #443178 - Flags: review?(ted.mielczarek)

Updated

6 years ago
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WORKSFORME

Updated

5 years ago
Component: Infrastructure → General
You need to log in before you can comment on or make changes to this bug.