taskcluster/ci/test/test-platforms.yml
author Brendan Dahl <bdahl@mozilla.com>
Wed, 26 Apr 2017 14:29:32 -0700
changeset 359266 d7121e5ad8065a5ef546b349d90606cbf0e5baab
parent 358808 af3b8957b02d027ecf69b0a946d414ff0a91b96c
child 360475 8140b96e2c0d08dcf7a270da534cce47e7741f73
permissions -rw-r--r--
Bug 1356681 - Expand headless mode support for linux. r=automatedtester,jrmuizel,kanru Full Firefox on Linux can now be run with a --headless flag. This includes seven parts: 1) Running all marionette tests in headless mode. 2) Prevents crashes where Firefox calls into GTK. 3) Adds a headless screen helper which supports changing the headless screen size with the environment variables MOZ_HEADLESS_WIDTH and MOZ_HEADLESS_HEIGHT. 4) Supports simulating moving a headless window. 5) Adds a stubbed out nsSound implementation. 6) Supports simulating size mode changes of headless windows. 7) Adds the --headless flag for Firefox.

# This file maps build platforms to test platforms.  In some cases, a
# single build may be tested on multiple test platforms, but a single test
# platform can only link to one build platform.  Both build and test platforms
# are represented as <platform>/<type>, where <type> is what Treeherder calls a
# collection.
#
# Each test platform further specifies the set of tests that will be scheduled
# for the platform, referring to tests defined in test-sets.yml.
#
# Note that set does not depend on the tree; tree-dependent job selection
# should be performed in the target task selection phase of task-graph
# generation.


##
# Linux platforms (matching /linux.*/)

linux32/debug:
    build-platform: linux/debug
    test-sets:
        - linux32-tests
linux32/opt:
    build-platform: linux/opt
    test-sets:
        -  linux32-tests
        -  linux32-opt-tests
linux32-nightly/opt:
    build-platform: linux-nightly/opt
    test-sets:
        -  linux32-tests
        -  linux32-opt-tests

linux64/debug:
    build-platform: linux64/debug
    test-sets:
        - common-tests
        - web-platform-tests
        - headless
linux64/opt:
    build-platform: linux64/opt
    test-sets:
        - common-tests
        - web-platform-tests
        - opt-only-tests
        - desktop-screenshot-capture
        - talos
        - awsy
        - headless
linux64-nightly/opt:
    build-platform: linux64-nightly/opt
    test-sets:
        - common-tests
        - web-platform-tests
        - opt-only-tests
        - desktop-screenshot-capture
        - talos
        - awsy
        - headless

# TODO: use 'pgo' and 'asan' labels here, instead of -pgo/opt
linux64-pgo/opt:
    build-platform: linux64-pgo/opt
    test-sets:
        - common-tests
        - web-platform-tests
        - talos
        - headless

linux64-asan/opt:
    build-platform: linux64-asan/opt
    test-sets:
        - common-tests
        - headless

# Stylo builds only run a subset of tests for the moment. So give them
# their own test set.
linux64-stylo/debug:
    build-platform: linux64-stylo/debug
    test-sets:
        - stylo-tests
linux64-stylo/opt:
    build-platform: linux64-stylo/opt
    test-sets:
        - stylo-tests
        - talos
linux64-stylo-sequential/debug:
    build-platform: linux64-stylo/debug
    test-sets:
        - stylo-sequential-tests
linux64-stylo-sequential/opt:
    build-platform: linux64-stylo/opt
    test-sets:
        - stylo-sequential-tests
        - talos

# QR builds just run a subset right now. Note that the tests in this
# test set are further restricted in tests.yml to run on certain projects
# only, to avoid adding too much infra load.
linux64-qr/opt:
    build-platform: linux64/opt
    test-sets:
        - qr-tests
linux64-qr/debug:
    build-platform: linux64/debug
    test-sets:
        - qr-tests

linux64-ccov/opt:
    build-platform: linux64-ccov/opt
    test-sets:
        - ccov-code-coverage-tests
linux64-jsdcov/opt:
    build-platform: linux64-jsdcov/opt
    test-sets:
        - jsdcov-code-coverage-tests

##
# Windows platforms (matching /windows.*/)

# win32 vm
windows7-32-vm/debug:
    build-platform: win32/debug
    test-sets:
        - windows-vm-tests
        - external-media-tests
windows7-32-vm/opt:
    build-platform: win32/opt
    test-sets:
        - windows-vm-tests
        - external-media-tests
        - external-media-tests-slow
        - awsy
        - desktop-screenshot-capture

# win32 gpu
windows7-32/debug:
    build-platform: win32/debug
    test-sets:
        - windows-gpu-tests
windows7-32/opt:
    build-platform: win32/opt
    test-sets:
        - windows-gpu-tests
        - desktop-screenshot-capture

# win64 vm
windows10-64-vm/debug:
    build-platform: win64/debug
    test-sets:
        - windows-vm-tests
        - external-media-tests
windows10-64-vm/opt:
    build-platform: win64/opt
    test-sets:
        - windows-vm-tests
        - external-media-tests
        - external-media-tests-slow
        - awsy
        - desktop-screenshot-capture

# win64 gpu
windows10-64/debug:
    build-platform: win64/debug
    test-sets:
        - windows-gpu-tests
windows10-64/opt:
    build-platform: win64/opt
    test-sets:
        - windows-gpu-tests
        - desktop-screenshot-capture

windows10-64-asan/opt:
    build-platform: win64-asan/opt
    test-sets:
        - common-tests

##
# MacOS X platforms (matching /macosx.*/)

macosx64/debug:
    build-platform: macosx64/debug
    test-sets:
        - macosx64-tests-debug

macosx64/opt:
    build-platform: macosx64/opt
    test-sets:
        - macosx64-tests-talos
        - macosx64-tests-debug

##
# Android platforms (matching /android.*/)

android-4.3-arm7-api-15/debug:
    build-platform: android-api-15/debug
    test-sets:
        - android-common-tests
        - android-debug-tests

android-4.3-arm7-api-15/opt:
    build-platform: android-api-15/opt
    test-sets:
        - android-common-tests
        - android-opt-tests

android-4.2-x86/opt:
    build-platform: android-x86/opt
    test-sets:
        - android-x86-tests

android-4.3-arm7-api-15-gradle/opt:
    build-platform: android-api-15-gradle/opt
    test-sets:
        - android-gradle-tests