tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

mac_config.py (1747B)


      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
      3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      4 
      5 import os
      6 import sys
      7 
      8 VENV_PATH = "%s/build/venv" % os.getcwd()
      9 
     10 config = {
     11    "log_name": "talos",
     12    "installer_path": "installer.exe",
     13    "virtualenv_path": VENV_PATH,
     14    "title": os.uname()[1].lower().split(".")[0],
     15    "default_actions": [
     16        "clobber",
     17        "download-and-extract",
     18        "populate-webroot",
     19        "create-virtualenv",
     20        "install",
     21        "run-tests",
     22    ],
     23    "run_cmd_checks_enabled": True,
     24    "preflight_run_cmd_suites": [
     25        {
     26            "name": "verify refresh rate",
     27            "cmd": [
     28                sys.executable,
     29                os.path.join(
     30                    os.getcwd(),
     31                    "mozharness",
     32                    "external_tools",
     33                    "macosx_resolution_refreshrate.py",
     34                ),
     35                "--check=refresh-rate",
     36            ],
     37            "architectures": ["64bit"],
     38            "halt_on_failure": True,
     39            "enabled": True,
     40        },
     41        {
     42            "name": "verify screen resolution",
     43            "cmd": [
     44                sys.executable,
     45                os.path.join(
     46                    os.getcwd(),
     47                    "mozharness",
     48                    "external_tools",
     49                    "macosx_resolution_refreshrate.py",
     50                ),
     51                "--check=resolution",
     52            ],
     53            "architectures": ["64bit"],
     54            "halt_on_failure": True,
     55            "enabled": True,
     56        },
     57    ],
     58    "postflight_run_cmd_suites": [],
     59    "tooltool_cache": "/builds/tooltool_cache",
     60 }