Bug 1097246 - Part2 - Added m-c, try, cedar configs r=lightsofapollo
--- a/testing/taskcluster/mach_commands.py
+++ b/testing/taskcluster/mach_commands.py
@@ -32,17 +32,19 @@ DOCKER_ROOT = os.path.join(ROOT, '..', '
# XXX: If/when we have the taskcluster queue use construct url instead
ARTIFACT_URL = 'https://queue.taskcluster.net/v1/task/{}/artifacts/{}'
REGISTRY = open(os.path.join(DOCKER_ROOT, 'REGISTRY')).read().strip()
DEFINE_TASK = 'queue:define-task:aws-provisioner/{}'
DEFAULT_TRY = 'try: -b do -p all -u all'
-DEFAULT_JOB_PATH = os.path.join(ROOT, 'tasks', 'job_flags.yml')
+DEFAULT_JOB_PATH = os.path.join(
+ ROOT, 'tasks', 'branches', 'mozilla-central', 'job_flags.yml'
+)
def get_hg_url():
''' Determine the url for the mercurial repository'''
try:
url = subprocess.check_output(
['hg', 'path', 'default'],
stderr=subprocess.PIPE
)
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/branches/cedar/job_flags.yml
@@ -0,0 +1,169 @@
+---
+# For complete sample of all build and test jobs,
+# see <gecko>/testing/taskcluster/tasks/job_flags.yml
+
+$inherits:
+ from: tasks/branches/base_job_flags.yml
+
+builds:
+ linux64_gecko:
+ platforms:
+ - b2g
+ types:
+ opt:
+ task: tasks/builds/b2g_desktop_opt.yml
+ debug:
+ task: tasks/builds/b2g_desktop_debug.yml
+ linux64-mulet:
+ platforms:
+ - Mulet Linux
+ types:
+ opt:
+ task: tasks/builds/mulet_linux.yml
+ emulator-kk:
+ platfoms:
+ - b2g
+ types:
+ opt:
+ task: tasks/builds/b2g_emulator_kk_opt.yml
+ debug:
+ task: tasks/builds/b2g_emulator_kk_debug.yml
+ emulator-jb:
+ platfoms:
+ - b2g
+ types:
+ opt:
+ task: tasks/builds/b2g_emulator_jb_opt.yml
+ debug:
+ task: tasks/builds/b2g_emulator_jb_debug.yml
+ emulator:
+ platfoms:
+ - b2g
+ types:
+ opt:
+ task: tasks/builds/b2g_emulator_ics_opt.yml
+ debug:
+ task: tasks/builds/b2g_emulator_ics_debug.yml
+
+tests:
+ cppunit:
+ allowed_build_tasks:
+ tasks/builds/b2g_emulator_ics_opt.yml:
+ task: tasks/tests/b2g_emulator_cpp_unit.yml
+ tasks/builds/b2g_emulator_ics_debug.yml:
+ task: tasks/tests/b2g_emulator_cpp_unit.yml
+ crashtest:
+ allowed_build_tasks:
+ tasks/builds/b2g_emulator_ics_opt.yml:
+ task: tasks/tests/b2g_emulator_crashtest.yml
+ chunks: 3
+ tasks/builds/b2g_emulator_ics_debug.yml:
+ task: tasks/tests/b2g_emulator_crashtest.yml
+ chunks: 3
+ gaia-build:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_build_test.yml
+ gaia-build-unit:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_build_unit.yml
+ gaia-js-integration:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_gaia_js_integration_tests.yml
+ chunks: 4
+ tasks/builds/b2g_desktop_debug.yml:
+ task: tasks/tests/b2g_gaia_js_integration_tests.yml
+ chunks: 4
+ gaia-linter:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_linter.yml
+ gaia-unit:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_gaia_unit.yml
+ gaia-ui-test-accessibility:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_gaia_ui_test_accessibility.yml
+ gaia-ui-test-functional:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_gaia_ui_test_functional.yml
+ chunks: 3
+ gaia-ui-test-unit:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_gaia_ui_test_unit.yml
+ gaia-ui-test-oop:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_gip_oop.yml
+ jsreftest:
+ allowed_build_tasks:
+ tasks/builds/b2g_emulator_ics_opt.yml:
+ task: tasks/tests/b2g_emulator_js_reftest.yml
+ chunks: 3
+ marionette:
+ allowed_build_tasks:
+ tasks/builds/b2g_emulator_ics_opt.yml:
+ task: tasks/tests/b2g_emulator_marionette.yml
+ tasks/builds/b2g_emulator_ics_debug.yml:
+ task: tasks/tests/b2g_emulator_marionette.yml
+ marionette-webapi:
+ allowed_build_tasks:
+ tasks/builds/b2g_emulator_ics_opt.yml:
+ task: tasks/tests/b2g_emulator_marionette_webapi.yml
+ tasks/builds/b2g_emulator_ics_debug.yml:
+ task: tasks/tests/b2g_emulator_marionette_webapi.yml
+ mochitest:
+ allowed_build_tasks:
+ tasks/builds/mulet_linux.yml:
+ task: tasks/tests/mulet_mochitests.yml
+ chunks: 5
+ tasks/builds/b2g_emulator_ics_opt.yml:
+ task: tasks/tests/b2g_emulator_mochitest.yml
+ chunks: 9
+ tasks/builds/b2g_emulator_ics_debug.yml:
+ task: tasks/tests/b2g_emulator_mochitest.yml
+ chunks: 20
+ tasks/builds/b2g_emulator_jb_opt.yml:
+ task: tasks/tests/b2g_emulator_mochitest.yml
+ chunks: 1
+ mochitest-media:
+ allowed_build_tasks:
+ tasks/builds/b2g_emulator_ics_opt.yml:
+ task: tasks/tests/b2g_emulator_mochitest_media.yml
+ mochitest-oop:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_mochitest_oop.yml
+ chunks: 1
+ reftest:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_reftests.yml
+ chunks: 10
+ tasks/builds/mulet_linux.yml:
+ task: tasks/tests/mulet_reftests.yml
+ chunks: 6
+ tasks/builds/b2g_emulator_ics_opt.yml:
+ task: tasks/tests/b2g_emulator_reftest.yml
+ chunks: 20
+ tasks/builds/b2g_emulator_ics_debug.yml:
+ task: tasks/tests/b2g_emulator_reftest.yml
+ chunks: 10
+ reftest-sanity-oop:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_reftests_sanity_oop.yml
+ chunks: 1
+ xpcshell:
+ allowed_build_tasks:
+ tasks/builds/b2g_emulator_ics_opt.yml:
+ task: tasks/tests/b2g_emulator_xpcshell.yml
+ tasks/builds/b2g_emulator_ics_debug.yml:
+ task: tasks/tests/b2g_emulator_xpcshell_chunked.yml
+ chunks: 2
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/branches/mozilla-central/job_flags.yml
@@ -0,0 +1,141 @@
+---
+# For complete sample of all build and test jobs,
+# see <gecko>/testing/taskcluster/tasks/job_flags.yml
+
+$inherits:
+ from: tasks/branches/base_job_flags.yml
+
+builds:
+ linux64_gecko:
+ platforms:
+ - b2g
+ types:
+ opt:
+ task: tasks/builds/b2g_desktop_opt.yml
+ debug:
+ task: tasks/builds/b2g_desktop_debug.yml
+ linux64-mulet:
+ platforms:
+ - Mulet Linux
+ types:
+ opt:
+ task: tasks/builds/mulet_linux.yml
+ emulator-kk:
+ platfoms:
+ - b2g
+ types:
+ opt:
+ task: tasks/builds/b2g_emulator_kk_opt.yml
+ debug:
+ task: tasks/builds/b2g_emulator_kk_debug.yml
+ emulator-jb:
+ platfoms:
+ - b2g
+ types:
+ opt:
+ task: tasks/builds/b2g_emulator_jb_opt.yml
+ debug:
+ task: tasks/builds/b2g_emulator_jb_debug.yml
+ emulator:
+ platfoms:
+ - b2g
+ types:
+ opt:
+ task: tasks/builds/b2g_emulator_ics_opt.yml
+ debug:
+ task: tasks/builds/b2g_emulator_ics_debug.yml
+
+tests:
+ cppunit:
+ allowed_build_tasks:
+ tasks/builds/b2g_emulator_ics_opt.yml:
+ task: tasks/tests/b2g_emulator_cpp_unit.yml
+ tasks/builds/b2g_emulator_ics_debug.yml:
+ task: tasks/tests/b2g_emulator_cpp_unit.yml
+ crashtest:
+ allowed_build_tasks:
+ tasks/builds/b2g_emulator_ics_opt.yml:
+ task: tasks/tests/b2g_emulator_crashtest.yml
+ chunks: 3
+ gaia-build:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_build_test.yml
+ gaia-build-unit:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_build_unit.yml
+ gaia-js-integration:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_gaia_js_integration_tests.yml
+ chunks: 4
+ gaia-linter:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_linter.yml
+ gaia-ui-test-accessibility:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_gaia_ui_test_accessibility.yml
+ tasks/builds/b2g_desktop_debug.yml:
+ task: tasks/tests/b2g_gaia_ui_test_accessibility.yml
+ gaia-ui-test-functional:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_gaia_ui_test_functional.yml
+ chunks: 3
+ tasks/builds/b2g_desktop_debug.yml:
+ task: tasks/tests/b2g_gaia_ui_test_functional.yml
+ chunks: 3
+ gaia-ui-test-unit:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_gaia_ui_test_unit.yml
+ tasks/builds/b2g_desktop_debug.yml:
+ task: tasks/tests/b2g_gaia_ui_test_unit.yml
+ gaia-unit:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_gaia_unit.yml
+ marionette:
+ allowed_build_tasks:
+ tasks/builds/b2g_emulator_ics_opt.yml:
+ task: tasks/tests/b2g_emulator_marionette.yml
+ marionette-webapi:
+ allowed_build_tasks:
+ tasks/builds/b2g_emulator_ics_opt.yml:
+ task: tasks/tests/b2g_emulator_marionette_webapi.yml
+ mochitest:
+ allowed_build_tasks:
+ tasks/builds/b2g_emulator_ics_opt.yml:
+ task: tasks/tests/b2g_emulator_mochitest.yml
+ chunks: 9
+ tasks/builds/b2g_emulator_ics_debug.yml:
+ task: tasks/tests/b2g_emulator_mochitest.yml
+ chunks: 20
+ tasks/builds/mulet_linux.yml:
+ task: tasks/tests/mulet_mochitests.yml
+ chunks: 5
+ mochitest-oop:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_mochitest_oop.yml
+ chunks: 1
+ reftest:
+ allowed_build_tasks:
+ tasks/builds/b2g_emulator_ics_opt.yml:
+ task: tasks/tests/b2g_emulator_reftest.yml
+ chunks: 20
+ reftest-sanity-oop:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_reftests_sanity_oop.yml
+ chunks: 1
+ xpcshell:
+ allowed_build_tasks:
+ tasks/builds/b2g_emulator_ics_opt.yml:
+ task: tasks/tests/b2g_emulator_xpcshell.yml
+ tasks/builds/b2g_emulator_ics_debug.yml:
+ task: tasks/tests/b2g_emulator_xpcshell_chunked.yml
+ chunks: 2
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/branches/try/job_flags.yml
@@ -0,0 +1,144 @@
+---
+# For complete sample of all build and test jobs,
+# see <gecko>/testing/taskcluster/tasks/job_flags.yml
+
+$inherits:
+ from: tasks/branches/base_job_flags.yml
+
+builds:
+ linux64_gecko:
+ platforms:
+ - b2g
+ types:
+ opt:
+ task: tasks/builds/b2g_desktop_opt.yml
+ debug:
+ task: tasks/builds/b2g_desktop_debug.yml
+ linux64-mulet:
+ platforms:
+ - Mulet Linux
+ types:
+ opt:
+ task: tasks/builds/mulet_linux.yml
+ emulator-kk:
+ platfoms:
+ - b2g
+ types:
+ opt:
+ task: tasks/builds/b2g_emulator_kk_opt.yml
+ debug:
+ task: tasks/builds/b2g_emulator_kk_debug.yml
+ emulator-jb:
+ platfoms:
+ - b2g
+ types:
+ opt:
+ task: tasks/builds/b2g_emulator_jb_opt.yml
+ debug:
+ task: tasks/builds/b2g_emulator_jb_debug.yml
+ emulator:
+ platfoms:
+ - b2g
+ types:
+ opt:
+ task: tasks/builds/b2g_emulator_ics_opt.yml
+ debug:
+ task: tasks/builds/b2g_emulator_ics_debug.yml
+
+tests:
+ cppunit:
+ allowed_build_tasks:
+ tasks/builds/b2g_emulator_ics_opt.yml:
+ task: tasks/tests/b2g_emulator_cpp_unit.yml
+ tasks/builds/b2g_emulator_ics_debug.yml:
+ task: tasks/tests/b2g_emulator_cpp_unit.yml
+ crashtest:
+ allowed_build_tasks:
+ tasks/builds/b2g_emulator_ics_opt.yml:
+ task: tasks/tests/b2g_emulator_crashtest.yml
+ chunks: 3
+ gaia-build:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_build_test.yml
+ gaia-build-unit:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_build_unit.yml
+ gaia-js-integration:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_gaia_js_integration_tests.yml
+ chunks: 4
+ gaia-linter:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_linter.yml
+ gaia-ui-test-accessibility:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_gaia_ui_test_accessibility.yml
+ tasks/builds/b2g_desktop_debug.yml:
+ task: tasks/tests/b2g_gaia_ui_test_accessibility.yml
+ gaia-ui-test-functional:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_gaia_ui_test_functional.yml
+ chunks: 3
+ tasks/builds/b2g_desktop_debug.yml:
+ task: tasks/tests/b2g_gaia_ui_test_functional.yml
+ chunks: 3
+ gaia-ui-test-unit:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_gaia_ui_test_unit.yml
+ tasks/builds/b2g_desktop_debug.yml:
+ task: tasks/tests/b2g_gaia_ui_test_unit.yml
+ gaia-unit:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_gaia_unit.yml
+ marionette:
+ allowed_build_tasks:
+ tasks/builds/b2g_emulator_ics_opt.yml:
+ task: tasks/tests/b2g_emulator_marionette.yml
+ marionette-webapi:
+ allowed_build_tasks:
+ tasks/builds/b2g_emulator_ics_opt.yml:
+ task: tasks/tests/b2g_emulator_marionette_webapi.yml
+ mochitest:
+ allowed_build_tasks:
+ tasks/builds/b2g_emulator_ics_opt.yml:
+ task: tasks/tests/b2g_emulator_mochitest.yml
+ chunks: 9
+ tasks/builds/b2g_emulator_ics_debug.yml:
+ task: tasks/tests/b2g_emulator_mochitest.yml
+ chunks: 20
+ tasks/builds/mulet_linux.yml:
+ task: tasks/tests/mulet_mochitests.yml
+ chunks: 5
+ mochitest-oop:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_mochitest_oop.yml
+ chunks: 1
+ reftest:
+ allowed_build_tasks:
+ tasks/builds/mulet_linux.yml:
+ task: tasks/tests/mulet_reftests.yml
+ chunks: 6
+ tasks/builds/b2g_emulator_ics_opt.yml:
+ task: tasks/tests/b2g_emulator_reftest.yml
+ chunks: 20
+ reftest-sanity-oop:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_reftests_sanity_oop.yml
+ chunks: 1
+ xpcshell:
+ allowed_build_tasks:
+ tasks/builds/b2g_emulator_ics_opt.yml:
+ task: tasks/tests/b2g_emulator_xpcshell.yml
+ tasks/builds/b2g_emulator_ics_debug.yml:
+ task: tasks/tests/b2g_emulator_xpcshell_chunked.yml
+ chunks: 2
--- a/testing/taskcluster/tasks/job_flags.yml
+++ b/testing/taskcluster/tasks/job_flags.yml
@@ -115,33 +115,34 @@ tests:
# # tests on all build variants so we use "allowed tasks" instead of
# # "allowed platforms" here.
# allowed_build_tasks:
# - builds/b2g_desktop_opt.yml
cppunit:
allowed_build_tasks:
tasks/builds/b2g_emulator_ics_opt.yml:
task: tasks/tests/b2g_emulator_cpp_unit.yml
+ tasks/builds/b2g_emulator_ics_debug.yml:
+ task: tasks/tests/b2g_emulator_cpp_unit.yml
crashtest:
allowed_build_tasks:
tasks/builds/b2g_emulator_ics_opt.yml:
task: tasks/tests/b2g_emulator_crashtest.yml
chunks: 3
+ tasks/builds/b2g_emulator_ics_debug.yml:
+ task: tasks/tests/b2g_emulator_crashtest.yml
+ chunks: 3
gaia-build:
allowed_build_tasks:
tasks/builds/b2g_desktop_opt.yml:
task: tasks/tests/b2g_build_test.yml
gaia-build-unit:
allowed_build_tasks:
tasks/builds/b2g_desktop_opt.yml:
task: tasks/tests/b2g_build_unit.yml
- gaia-unit:
- allowed_build_tasks:
- tasks/builds/b2g_desktop_opt.yml:
- task: tasks/tests/b2g_gaia_unit.yml
gaia-js-integration:
allowed_build_tasks:
tasks/builds/b2g_desktop_opt.yml:
task: tasks/tests/b2g_gaia_js_integration_tests.yml
chunks: 4
tasks/builds/b2g_desktop_debug.yml:
task: tasks/tests/b2g_gaia_js_integration_tests.yml
chunks: 4
@@ -163,47 +164,61 @@ tests:
gaia-ui-test-oop:
allowed_build_tasks:
tasks/builds/b2g_desktop_opt.yml:
task: tasks/tests/b2g_gip_oop.yml
gaia-ui-test-unit:
allowed_build_tasks:
tasks/builds/b2g_desktop_opt.yml:
task: tasks/tests/b2g_gaia_ui_test_unit.yml
+ gaia-unit:
+ allowed_build_tasks:
+ tasks/builds/b2g_desktop_opt.yml:
+ task: tasks/tests/b2g_gaia_unit.yml
gaia-unit-oop:
allowed_build_tasks:
tasks/builds/b2g_desktop_opt.yml:
task: tasks/tests/b2g_gaia_unit_oop.yml
jsreftest:
allowed_build_tasks:
tasks/builds/b2g_emulator_ics_opt.yml:
task: tasks/tests/b2g_emulator_js_reftest.yml
chunks: 3
marionette:
allowed_build_tasks:
tasks/builds/b2g_emulator_ics_opt.yml:
task: tasks/tests/b2g_emulator_marionette.yml
+ tasks/builds/b2g_emulator_ics_debug.yml:
+ task: tasks/tests/b2g_emulator_marionette.yml
marionette-webapi:
allowed_build_tasks:
tasks/builds/b2g_emulator_ics_opt.yml:
task: tasks/tests/b2g_emulator_marionette_webapi.yml
- mochitests:
+ tasks/builds/b2g_emulator_ics_debug.yml:
+ task: tasks/tests/b2g_emulator_marionette_webapi.yml
+ mochitest:
allowed_build_tasks:
tasks/builds/b2g_desktop_opt.yml:
task: tasks/tests/b2g_mochitest.yml
chunks: 5
tasks/builds/b2g_desktop_debug.yml:
task: tasks/tests/b2g_mochitest.yml
chunks: 5
tasks/builds/mulet_linux.yml:
task: tasks/tests/mulet_mochitests.yml
chunks: 5
tasks/builds/b2g_emulator_ics_opt.yml:
task: tasks/tests/b2g_emulator_mochitest.yml
chunks: 9
+ tasks/builds/b2g_emulator_ics_debug.yml:
+ task: tasks/tests/b2g_emulator_mochitest.yml
+ chunks: 20
+ tasks/builds/b2g_emulator_jb_opt.yml:
+ task: tasks/tests/b2g_emulator_mochitest.yml
+ chunks: 1
mochitest-media:
allowed_build_tasks:
tasks/builds/b2g_emulator_ics_opt.yml:
task: tasks/tests/b2g_emulator_mochitest_media.yml
mochitest-oop:
allowed_build_tasks:
tasks/builds/b2g_desktop_opt.yml:
task: tasks/tests/b2g_mochitest_oop.yml
@@ -214,17 +229,23 @@ tests:
task: tasks/tests/mulet_reftests.yml
chunks: 6
tasks/builds/b2g_desktop_opt.yml:
task: tasks/tests/b2g_reftests.yml
chunks: 10
tasks/builds/b2g_emulator_ics_opt.yml:
task: tasks/tests/b2g_emulator_reftest.yml
chunks: 20
+ tasks/builds/b2g_emulator_ics_debug.yml:
+ task: tasks/tests/b2g_emulator_reftest.yml
+ chunks: 10
reftest-sanity-oop:
allowed_build_tasks:
tasks/builds/b2g_desktop_opt.yml:
task: tasks/tests/b2g_reftests_sanity_oop.yml
chunks: 1
xpcshell:
allowed_build_tasks:
tasks/builds/b2g_emulator_ics_opt.yml:
task: tasks/tests/b2g_emulator_xpcshell.yml
+ tasks/builds/b2g_emulator_ics_debug.yml:
+ task: tasks/tests/b2g_emulator_xpcshell_chunked.yml
+ chunks: 2
new file mode 100644
--- /dev/null
+++ b/testing/taskcluster/tasks/tests/b2g_emulator_xpcshell_chunked.yml
@@ -0,0 +1,34 @@
+---
+$inherits:
+ from: 'tasks/test.yml'
+task:
+ metadata:
+ name: XPCShell
+ description: XPCShell test run {{chunk}}
+
+ payload:
+ command:
+ - entrypoint
+ - >
+ python ./mozharness/scripts/b2g_emulator_unittest.py
+ --no-read-buildbot-config
+ --config-file ./mozharness/configs/b2g/emulator_automation_config.py
+ --config-file ./mozharness_configs/emulator_override.py
+ --download-symbols ondemand
+ --test-suite xpcshell
+ --installer-url {{build_url}}
+ --test-url {{tests_url}}
+ --xre-url https://s3-us-west-2.amazonaws.com/test-caching/packages/xre_linux_x86.zip
+ --this-chunk {{chunk}}
+ --total-chunk {{total_chunks}}
+ artifacts:
+ 'public/build':
+ type: directory
+ path: '/home/worker/artifacts/'
+ expires: '{{#from_now}}1 year{{/from_now}}'
+
+ extra:
+ treeherder:
+ groupName: XPCShell
+ symbol: X{{chunk}}
+ productName: b2g