Example #1
0
def _by_platform(arg):
    return optionally_keyed_by('build-platform', arg)
# *****WARNING*****
#
# This is a great place for baffling cruft to accumulate, and that makes
# everyone move more slowly.  Be considerate of your fellow hackers!
# See the warnings in taskcluster/docs/how-tos.rst
#
# *****WARNING*****
test_description_schema = Schema(
    {
        # description of the suite, for the task metadata
        'description':
        basestring,

        # test suite name, or <suite>/<flavor>
        Required('suite'):
        optionally_keyed_by('test-platform', basestring),

        # the name by which this test suite is addressed in try syntax; defaults to
        # the test-name
        Optional('unittest-try-name'):
        basestring,

        # the name by which this talos test is addressed in try syntax
        Optional('talos-try-name'):
        basestring,

        # the symbol, or group(symbol), under which this task should appear in
        # treeherder.
        'treeherder-symbol':
        basestring,
# *****WARNING*****
#
# This is a great place for baffling cruft to accumulate, and that makes
# everyone move more slowly.  Be considerate of your fellow hackers!
# See the warnings in taskcluster/docs/how-tos.rst
#
# *****WARNING*****
test_description_schema = Schema(
    {
        # description of the suite, for the task metadata
        'description':
        basestring,

        # test suite name, or <suite>/<flavor>
        Required('suite'):
        optionally_keyed_by('test-platform', basestring),

        # the name by which this test suite is addressed in try syntax; defaults to
        # the test-name
        Optional('unittest-try-name'):
        basestring,

        # the name by which this talos test is addressed in try syntax
        Optional('talos-try-name'):
        basestring,

        # the symbol, or group(symbol), under which this task should appear in
        # treeherder.
        'treeherder-symbol':
        basestring,
Example #4
0
# Schema for a test description
#
# *****WARNING*****
#
# This is a great place for baffling cruft to accumulate, and that makes
# everyone move more slowly.  Be considerate of your fellow hackers!
# See the warnings in taskcluster/docs/how-tos.rst
#
# *****WARNING*****
test_description_schema = Schema({
    # description of the suite, for the task metadata
    'description': basestring,

    # test suite name, or <suite>/<flavor>
    Required('suite'): optionally_keyed_by(
        'test-platform',
        basestring),

    # the name by which this test suite is addressed in try syntax; defaults to
    # the test-name
    Optional('unittest-try-name'): basestring,

    # the name by which this talos test is addressed in try syntax
    Optional('talos-try-name'): basestring,

    # the symbol, or group(symbol), under which this task should appear in
    # treeherder.
    'treeherder-symbol': basestring,

    # the value to place in task.extra.treeherder.machine.platform; ideally
    # this is the same as build-platform, and that is the default, but in
Example #5
0
def _by_platform(arg):
    return optionally_keyed_by('build-platform', arg)