Debian Codegraph @

testing/mozharness/configs/web_platform_tests/prod_config_mac.py

raw
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 # You can obtain one at http://mozilla.org/MPL/2.0/.
4
5 import os
6 import sys
7
8 config = {
9 "options": [
10 "--prefs-root=%(test_path)s/prefs",
11 "--config=%(test_path)s/wptrunner.ini",
12 "--ca-cert-path=%(test_path)s/tests/tools/certs/cacert.pem",
13 "--host-key-path=%(test_path)s/tests/tools/certs/web-platform.test.key",
14 "--host-cert-path=%(test_path)s/tests/tools/certs/web-platform.test.pem",
15 "--certutil-binary=%(test_install_path)s/bin/certutil",
16 ],
17 "geckodriver": os.path.join("%(abs_fetches_dir)s", "geckodriver"),
18 "per_test_category": "web-platform",
19 "run_cmd_checks_enabled": True,
20 "preflight_run_cmd_suites": [
21 {
22 "name": "verify refresh rate",
23 "cmd": [
24 sys.executable,
25 os.path.join(
26 os.getcwd(),
27 "mozharness",
28 "external_tools",
29 "macosx_resolution_refreshrate.py",
30 ),
31 "--check=refresh-rate",
32 ],
33 "architectures": ["64bit"],
34 "halt_on_failure": True,
35 "enabled": True,
36 },
37 {
38 "name": "verify screen resolution",
39 "cmd": [
40 sys.executable,
41 os.path.join(
42 os.getcwd(),
43 "mozharness",
44 "external_tools",
45 "macosx_resolution_refreshrate.py",
46 ),
47 "--check=resolution",
48 ],
49 "architectures": ["64bit"],
50 "halt_on_failure": True,
51 "enabled": True,
52 },
53 ],
54 }