Closed Bug 1844880 Opened 1 year ago Closed 1 year ago

xorigin tests do not output full path name

Categories

(Testing :: Mochitest, defect)

Default
defect

Tracking

(firefox117 fixed)

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: jmaher, Assigned: jmaher)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

when an xorigin test runs, it doesn't report the full test path. If we wanted to read the errorsummary.json (or failed lines) we would parse a testname that is incomplete.

for example thisfailure:
extensions/formautofill/test/mochitest/test_autofill_and_ordinal_forms.html

should be:
browser/extensions/formautofill/test/mochitest/test_autofill_and_ordinal_forms.html

the problem is here:

    TEST_PATH_PREFIXES = [
        r"^/tests/",
        r"^\w+://[\w\.]+(:\d+)?(/\w+)?/(tests?|a11y|chrome|browser)/",
    ]

if I remove the browser from the second regex, things work as expected, but this would break things like browser-chrome.

Assignee: nobody → jmaher
Status: NEW → ASSIGNED
Pushed by jmaher@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2f8d2611c816 fix mochitest paths starting with browser/ and xorigin. r=aryx
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: