Closed Bug 689560 Opened 13 years ago Closed 13 years ago

Add progress indication to Reftest

Categories

(Testing :: Reftest, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla10

People

(Reporter: BenWa, Assigned: BenWa)

Details

Attachments

(1 file, 1 obsolete file)

Here's a patch that adds a simple test remaining info line to reftest as a progress indicator. I've been using this locally and it's useful.
Attachment #562752 - Flags: review?(dbaron)
So, for what it's worth, there used to be a progress indicator in the titlebar, and then we started using windows without titlebars, which I thought was temporary...

It would be nice if we could squeeze this into the TEST-START line; ted would probably know if that's ok.

If not, at least put it right next to where we set document.title (and make it have the same info.
I don't think anything depends on parsing the TEST-START line, so squeezing it in there ought to be fine. And yeah, I added this a while ago, I didn't realize we lost the titlebar. :-/
Sample output:

REFTEST TEST-START | file:///Users/bgirard/mozilla/mozilla-central/tree/modules/libpr0n/test/reftest/pngsuite-palettes/ps1n0g08.png | 196 / 7036 (2%)
REFTEST TEST-START | file:///Users/bgirard/mozilla/mozilla-central/tree/modules/libpr0n/test/reftest/pngsuite-palettes/ps1n0g08.html | 196 / 7036 (2%)
REFTEST TEST-PASS | file:///Users/bgirard/mozilla/mozilla-central/tree/modules/libpr0n/test/reftest/pngsuite-palettes/ps1n0g08.png | image comparison (==)
REFTEST INFO | Loading a blank page
REFTEST TEST-START | file:///Users/bgirard/mozilla/mozilla-central/tree/modules/libpr0n/test/reftest/pngsuite-palettes/ps1n2c16.png | 197 / 7036 (2%)
REFTEST TEST-START | file:///Users/bgirard/mozilla/mozilla-central/tree/modules/libpr0n/test/reftest/pngsuite-palettes/ps1n2c16.html | 197 / 7036 (2%)
REFTEST TEST-PASS | file:///Users/bgirard/mozilla/mozilla-central/tree/modules/libpr0n/test/reftest/pngsuite-palettes/ps1n2c16.png | image comparison (==)
REFTEST INFO | Loading a blank page
REFTEST TEST-START | file:///Users/bgirard/mozilla/mozilla-central/tree/modules/libpr0n/test/reftest/pngsuite-palettes/ps2n0g08.png | 198 / 7036 (2%)
REFTEST TEST-START | file:///Users/bgirard/mozilla/mozilla-central/tree/modules/libpr0n/test/reftest/pngsuite-palettes/ps2n0g08.html | 198 / 7036 (2%)
Assignee: nobody → bgirard
Attachment #562752 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #562752 - Flags: review?(dbaron)
Attachment #563151 - Flags: review?(dbaron)
Ignore the first line removal, I did 'diff' instead of 'qdiff'
https://hg.mozilla.org/mozilla-central/rev/3f3b6a106ed8
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: