зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1635873 - Create virtualenv in `mach mochitest` r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D74684
This commit is contained in:
Родитель
d7e8e84ac7
Коммит
d46a834068
|
@ -284,6 +284,10 @@ class MachCommands(MachCommandBase):
|
|||
from mozlog.handlers import StreamHandler
|
||||
from moztest.resolve import get_suite_definition
|
||||
|
||||
# TODO: This is only strictly necessary while mochitest is using Python
|
||||
# 2 and can be removed once the command is migrated to Python 3.
|
||||
self._activate_virtualenv()
|
||||
|
||||
buildapp = None
|
||||
for app in SUPPORTED_APPS:
|
||||
if conditions.is_buildapp_in(self, apps=[app]):
|
||||
|
|
Загрузка…
Ссылка в новой задаче