Bug 1614200: fix linting issues. r=jmaher CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D120847
This commit is contained in:
Ben Hearsum 2021-07-26 13:55:02 +00:00
Родитель 64d95473e4
Коммит 2ba2f74f31
4 изменённых файлов: 33 добавлений и 29 удалений

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

@ -310,19 +310,19 @@ windows10-32-mingwclang-qr/opt:
# MacOS X platforms (matching /macosx.*/) # MacOS X platforms (matching /macosx.*/)
macosx1100-64-qr/debug: macosx1100-64-qr/debug:
build-platform: macosx64/debug build-platform: macosx64/debug
test-sets: test-sets:
- macosx1100-64-jittests - macosx1100-64-jittests
macosx1100-64-shippable-qr/opt: macosx1100-64-shippable-qr/opt:
build-platform: macosx64-shippable/opt build-platform: macosx64-shippable/opt
test-sets: test-sets:
- macosx1100-64-jittests - macosx1100-64-jittests
- macosx1100-64-qr-tests - macosx1100-64-qr-tests
- macosx1100-64-qr-failure-tests - macosx1100-64-qr-failure-tests
# - macosx64-talos # - macosx64-talos
# - browsertime-high-priority # - browsertime-high-priority
# - raptor-firefox # - raptor-firefox
macosx1015-64-shippable/opt: macosx1015-64-shippable/opt:
build-platform: macosx64-shippable/opt build-platform: macosx64-shippable/opt

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

@ -388,26 +388,26 @@ windows-talos:
# macOS # macOS
macosx1100-64-qr-failure-tests: macosx1100-64-qr-failure-tests:
# - xpcshell-failures # - xpcshell-failures
- mochitest-media-failures - mochitest-media-failures
# - mochitest-browser-chrome-failures # - mochitest-browser-chrome-failures
macosx1100-64-jittests: macosx1100-64-jittests:
- jittest - jittest
macosx1100-64-qr-tests: macosx1100-64-qr-tests:
# - crashtest # - crashtest
- jsreftest - jsreftest
# - mochitest-browser-chrome # - mochitest-browser-chrome
# - mochitest-chrome-gpu # - mochitest-chrome-gpu
# - mochitest-media # - mochitest-media
- mochitest-webgpu - mochitest-webgpu
- mochitest-webgl1-core - mochitest-webgl1-core
- mochitest-webgl1-ext - mochitest-webgl1-ext
- mochitest-webgl2-core - mochitest-webgl2-core
- mochitest-webgl2-ext - mochitest-webgl2-ext
# - reftest # - reftest
# - xpcshell # - xpcshell
macosx1015-64-qr-failure-tests: macosx1015-64-qr-failure-tests:
- mochitest-media-failures - mochitest-media-failures

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

@ -122,12 +122,18 @@ def get_test_platforms(
# Context: Signed builds are only used by Windows # Context: Signed builds are only used by Windows
if test_platform.startswith("macosx1100"): if test_platform.startswith("macosx1100"):
if "shippable" in test_platform: if "shippable" in test_platform:
test_platforms[test_platform]["build-signing-label"] = "repackage-macosx64-shippable/opt" test_platforms[test_platform][
"build-signing-label"
] = "repackage-macosx64-shippable/opt"
else: else:
if "debug" in test_platform: if "debug" in test_platform:
test_platforms[test_platform]["build-signing-label"] = "repackage-macosx64/debug" test_platforms[test_platform][
"build-signing-label"
] = "repackage-macosx64/debug"
else: else:
test_platforms[test_platform]["build-signing-label"] = "repackage-macosx64/opt" test_platforms[test_platform][
"build-signing-label"
] = "repackage-macosx64/opt"
else: else:
test_platforms[test_platform][ test_platforms[test_platform][
"build-signing-label" "build-signing-label"

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

@ -480,14 +480,12 @@ class VirtualenvMixin(object):
"mv -f {}/* {}/bin/".format(tmp_path, venv_path), shell=True "mv -f {}/* {}/bin/".format(tmp_path, venv_path), shell=True
) )
self.info( self.info(
"codesign -s - --preserve-metadata=identifier,entitlements,flags,runtime -f {}/bin/*".format( "codesign -s - --preserve-metadata=identifier,entitlements,flags,runtime "
venv_path "-f {}/bin/*".format(venv_path)
)
) )
subprocess.call( subprocess.call(
"codesign -s - --preserve-metadata=identifier,entitlements,flags,runtime -f {}/bin/python*".format( "codesign -s - --preserve-metadata=identifier,entitlements,flags,runtime -f "
venv_path "{}/bin/python*".format(venv_path),
),
shell=True, shell=True,
) )
@ -889,7 +887,7 @@ class ResourceMonitoringMixin(PerfherderResourceOptionsMixin):
# This needs to be inherited only if you have already inherited ScriptMixin # This needs to be inherited only if you have already inherited ScriptMixin
class Python3Virtualenv(object): class Python3Virtualenv(object):
""" Support Python3.5+ virtualenv creation.""" """Support Python3.5+ virtualenv creation."""
py3_initialized_venv = False py3_initialized_venv = False