зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1614200: fix linting issues. r=jmaher CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D120847
This commit is contained in:
Родитель
64d95473e4
Коммит
2ba2f74f31
|
@ -310,19 +310,19 @@ windows10-32-mingwclang-qr/opt:
|
|||
# MacOS X platforms (matching /macosx.*/)
|
||||
|
||||
macosx1100-64-qr/debug:
|
||||
build-platform: macosx64/debug
|
||||
test-sets:
|
||||
- macosx1100-64-jittests
|
||||
build-platform: macosx64/debug
|
||||
test-sets:
|
||||
- macosx1100-64-jittests
|
||||
|
||||
macosx1100-64-shippable-qr/opt:
|
||||
build-platform: macosx64-shippable/opt
|
||||
test-sets:
|
||||
- macosx1100-64-jittests
|
||||
- macosx1100-64-qr-tests
|
||||
- macosx1100-64-qr-failure-tests
|
||||
# - macosx64-talos
|
||||
# - browsertime-high-priority
|
||||
# - raptor-firefox
|
||||
build-platform: macosx64-shippable/opt
|
||||
test-sets:
|
||||
- macosx1100-64-jittests
|
||||
- macosx1100-64-qr-tests
|
||||
- macosx1100-64-qr-failure-tests
|
||||
# - macosx64-talos
|
||||
# - browsertime-high-priority
|
||||
# - raptor-firefox
|
||||
|
||||
macosx1015-64-shippable/opt:
|
||||
build-platform: macosx64-shippable/opt
|
||||
|
|
|
@ -388,26 +388,26 @@ windows-talos:
|
|||
# macOS
|
||||
|
||||
macosx1100-64-qr-failure-tests:
|
||||
# - xpcshell-failures
|
||||
# - xpcshell-failures
|
||||
- mochitest-media-failures
|
||||
# - mochitest-browser-chrome-failures
|
||||
# - mochitest-browser-chrome-failures
|
||||
|
||||
macosx1100-64-jittests:
|
||||
- jittest
|
||||
|
||||
macosx1100-64-qr-tests:
|
||||
# - crashtest
|
||||
# - crashtest
|
||||
- jsreftest
|
||||
# - mochitest-browser-chrome
|
||||
# - mochitest-chrome-gpu
|
||||
# - mochitest-media
|
||||
# - mochitest-browser-chrome
|
||||
# - mochitest-chrome-gpu
|
||||
# - mochitest-media
|
||||
- mochitest-webgpu
|
||||
- mochitest-webgl1-core
|
||||
- mochitest-webgl1-ext
|
||||
- mochitest-webgl2-core
|
||||
- mochitest-webgl2-ext
|
||||
# - reftest
|
||||
# - xpcshell
|
||||
# - reftest
|
||||
# - xpcshell
|
||||
|
||||
macosx1015-64-qr-failure-tests:
|
||||
- mochitest-media-failures
|
||||
|
|
|
@ -122,12 +122,18 @@ def get_test_platforms(
|
|||
# Context: Signed builds are only used by Windows
|
||||
if test_platform.startswith("macosx1100"):
|
||||
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:
|
||||
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:
|
||||
test_platforms[test_platform]["build-signing-label"] = "repackage-macosx64/opt"
|
||||
test_platforms[test_platform][
|
||||
"build-signing-label"
|
||||
] = "repackage-macosx64/opt"
|
||||
else:
|
||||
test_platforms[test_platform][
|
||||
"build-signing-label"
|
||||
|
|
|
@ -480,14 +480,12 @@ class VirtualenvMixin(object):
|
|||
"mv -f {}/* {}/bin/".format(tmp_path, venv_path), shell=True
|
||||
)
|
||||
self.info(
|
||||
"codesign -s - --preserve-metadata=identifier,entitlements,flags,runtime -f {}/bin/*".format(
|
||||
venv_path
|
||||
)
|
||||
"codesign -s - --preserve-metadata=identifier,entitlements,flags,runtime "
|
||||
"-f {}/bin/*".format(venv_path)
|
||||
)
|
||||
subprocess.call(
|
||||
"codesign -s - --preserve-metadata=identifier,entitlements,flags,runtime -f {}/bin/python*".format(
|
||||
venv_path
|
||||
),
|
||||
"codesign -s - --preserve-metadata=identifier,entitlements,flags,runtime -f "
|
||||
"{}/bin/python*".format(venv_path),
|
||||
shell=True,
|
||||
)
|
||||
|
||||
|
@ -889,7 +887,7 @@ class ResourceMonitoringMixin(PerfherderResourceOptionsMixin):
|
|||
|
||||
# This needs to be inherited only if you have already inherited ScriptMixin
|
||||
class Python3Virtualenv(object):
|
||||
""" Support Python3.5+ virtualenv creation."""
|
||||
"""Support Python3.5+ virtualenv creation."""
|
||||
|
||||
py3_initialized_venv = False
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче