зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1809252 - Allow talos-xperf to use run-as-administrator on win11 machines in CI. r=bxbrenden,perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D166391
This commit is contained in:
Родитель
6381e5066c
Коммит
4aa5fda7a5
|
@ -767,12 +767,14 @@ talos-xperf:
|
|||
by-test-platform:
|
||||
windows.*32.*: false
|
||||
windows10-64.*: true
|
||||
windows11-64.*: true
|
||||
variants:
|
||||
- webrender-sw
|
||||
run-on-projects:
|
||||
by-test-platform:
|
||||
windows.*-32-shippable(?:-qr)?/.*: []
|
||||
windows10-64.*-shippable-qr/.*: [mozilla-beta, trunk]
|
||||
windows11-64.*-shippable-qr/.*: [mozilla-beta, trunk]
|
||||
default: []
|
||||
mozharness:
|
||||
extra-options:
|
||||
|
|
|
@ -314,7 +314,9 @@ def mozharness_test_on_generic_worker(config, job, taskdesc):
|
|||
# See https://docs.microsoft.com/en-us/windows/desktop/secauthz/user-account-control
|
||||
# for more information about UAC.
|
||||
if test.get("run-as-administrator", False):
|
||||
if job["worker-type"].startswith("win10-64"):
|
||||
if job["worker-type"].startswith("win10-64") or job["worker-type"].startswith(
|
||||
"win11-64"
|
||||
):
|
||||
worker["run-as-administrator"] = True
|
||||
else:
|
||||
raise Exception(
|
||||
|
|
|
@ -74,6 +74,12 @@
|
|||
"c:\\windows\\prefetch\\{prefetch}.pf": {
|
||||
"ignore": true
|
||||
},
|
||||
"c:\\windows\\system32\\webauthn.dll": {
|
||||
"mincount": 0,
|
||||
"maxcount": 2,
|
||||
"minbytes": 0,
|
||||
"maxbytes": 8192
|
||||
},
|
||||
"c:\\windows\\system32\\shell32.dll": {
|
||||
"mincount": 0,
|
||||
"maxcount": 2,
|
||||
|
|
Загрузка…
Ссылка в новой задаче