testing/mozharness/configs/raptor/linux_config.py
author Mike Hommey <mh+mozilla@glandium.org>
Fri, 21 Dec 2018 19:31:34 +0000
changeset 508877 48b059d9a1de4540d2ce9f92abf9eb058c188cf1
parent 488063 1a3bb96c5554ee259ff3099fcb3e8a0b63012268
child 528094 6800e99ad32ab85ccce4de926e261b93ce2b45fb
permissions -rw-r--r--
Bug 1514400 - Download minidump_stackwalk by default. r=ahal As of bug 1513157, minidump_stackwalk is not installed in the test docker images, so it needs to be downloaded. Differential Revision: https://phabricator.services.mozilla.com/D14644

import os
import platform

VENV_PATH = '%s/build/venv' % os.getcwd()
if platform.architecture()[0] == '64bit':
    TOOLTOOL_MANIFEST_PATH = "config/tooltool-manifests/linux64/releng.manifest"
    MINIDUMP_STACKWALK_PATH = "linux64-minidump_stackwalk"
else:
    TOOLTOOL_MANIFEST_PATH = "config/tooltool-manifests/linux32/releng.manifest"
    MINIDUMP_STACKWALK_PATH = "linux32-minidump_stackwalk"

config = {
    "log_name": "raptor",
    "installer_path": "installer.exe",
    "virtualenv_path": VENV_PATH,
    "title": os.uname()[1].lower().split('.')[0],
    "default_actions": [
        "clobber",
        "download-and-extract",
        "populate-webroot",
        "install-chrome",
        "create-virtualenv",
        "install",
        "run-tests",
    ],
    "minidump_stackwalk_path": MINIDUMP_STACKWALK_PATH,
    "minidump_tooltool_manifest_path": TOOLTOOL_MANIFEST_PATH,
    "tooltool_cache": "/builds/tooltool_cache",
}