Bug 1716378 - Use correct test modules path in xpcshell layer. r=perftest-reviewers,kimberlythegeek

Differential Revision: https://phabricator.services.mozilla.com/D117690
This commit is contained in:
Gregory Mierzwinski 2021-06-15 17:01:58 +00:00
Родитель 5820669ad6
Коммит a5873d50c0
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -117,9 +117,11 @@ class XPCShell(Layer):
if not plugins.exists():
plugins = Path(self.distdir, "plugins")
kwargs["pluginsPath"] = str(plugins)
modules = binary.parent / "modules"
modules = Path(self.topobjdir, "_tests", "modules")
if not modules.exists():
modules = Path(self.topobjdir, "_tests", "modules")
modules = binary.parent / "modules"
kwargs["testingModulesDir"] = str(modules)
kwargs["utility_path"] = self.bindir
kwargs["manifest"] = str(manifest)