Bug 1718630 - Use mozversion to get the version of the browser r=perftest-reviewers,davehunt

Differential Revision: https://phabricator.services.mozilla.com/D122854
This commit is contained in:
Alex Ionescu 2021-08-19 11:50:17 +00:00
parent 83a2618d5f
commit 4b736bb2ca

View File

@ -8,12 +8,14 @@ import os
import shutil
import asyncio
import mozversion
from condprof.creator import ProfileCreator
from condprof.desktop import DesktopEnv
from condprof.android import AndroidEnv
from condprof.changelog import Changelog
from condprof.scenarii import scenarii
from condprof.util import logger, get_version, get_current_platform, extract_from_dmg
from condprof.util import logger, get_current_platform, extract_from_dmg
from condprof.customization import get_customizations, find_customization
from condprof.client import read_changelog, ProfileNotFoundError
@ -79,8 +81,7 @@ class Runner:
if not os.path.exists(self.firefox):
raise IOError("Cannot find %s" % self.firefox)
version = get_version(self.firefox)
logger.info("Working with Firefox %s" % version)
mozversion.get_version(self.firefox)
logger.info(os.environ)
if self.archive: