Closed Bug 1108781 Opened 5 years ago Closed 5 years ago

Log paths relative to the srcdir, not absolute paths, in xpcshell

Categories

(Testing :: XPCShell Harness, defect)

x86
macOS
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
mozilla37

People

(Reporter: chmanchester, Assigned: chmanchester)

Details

Attachments

(2 files, 1 obsolete file)

From our conversation in Portland it seems clear the relpath is what we want in test ids. We can do this pretty easily with the name/path distinction build in by structured logging.
/r/1361 - Bug 1108781 - Log relative paths as test identifiers in xpcshell.;r=ahal

Pull down this commit:

hg pull review -r b94099a50c3c5d84e8ceec6b0daf7115358ece24
I guess test objects get different keys when running in automation, eh.
/r/1361 - Bug 1108781 - Log relative paths as test identifiers in xpcshell.;r=ahal

Pull down this commit:

hg pull review -r a0788c19e6aa3634632aad2b80766975b7dc0017
Attachment #8533890 - Flags: review?(ahalberstadt)
/r/1361 - Bug 1108781 - Log relative paths as test identifiers in xpcshell.;r=ahal

Pull down this commit:

hg pull review -r a0788c19e6aa3634632aad2b80766975b7dc0017
Attachment #8533890 - Flags: review?(ahalberstadt) → review+
Assignee: nobody → cmanchester
Status: NEW → ASSIGNED
Assignee: cmanchester → nobody
Status: ASSIGNED → NEW
Keywords: checkin-needed
Assignee: nobody → cmanchester
Thanks for filing this, would be awesome if we could do this in the other suites too - and also for non-test things like assertion paths (though things like the latter is a longer tail that will take some time to tackle).
https://hg.mozilla.org/mozilla-central/rev/df04db0326a3
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
Attachment #8533890 - Attachment is obsolete: true
Attachment #8618861 - Flags: review+
You need to log in before you can comment on or make changes to this bug.