Open Bug 1475192 Opened 7 years ago Updated 3 years ago

Make it possible to import modules from testing-common in reftests

Categories

(Testing :: Reftest, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: marco, Unassigned)

Details

It's currently not possible to import them, maybe testing-common is not registered as for xpcshell or mochitest (https://dxr.mozilla.org/mozilla-central/rev/085cdfb90903d4985f0de1dc7786522d9fb45596/testing/mochitest/runtests.py#1294).
I've tried to replicate what mochitest is doing, adding a tests.manifest file for registering testing-modules, but for some reason the substitution doesn't work well (the error moved from "component not found" to "file not found"). I've manually checked the manifest and the paths were correct, so I'm not entirely sure what's going on. I think I might just cheat and do what we're already doing for StructuredLog.jsm: https://dxr.mozilla.org/mozilla-central/rev/085cdfb90903d4985f0de1dc7786522d9fb45596/layout/tools/reftest/jar.mn#7.
No longer blocks: 1471575
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.