Bug 1635873 - Create virtualenv in `mach mochitest` r=ahal

Differential Revision: https://phabricator.services.mozilla.com/D74684
This commit is contained in:
Ricky Stewart 2020-05-12 18:50:49 +00:00
Родитель d7e8e84ac7
Коммит d46a834068
1 изменённых файлов: 4 добавлений и 0 удалений

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

@ -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]):