Bug 1102247 - add gaia unit test for b2g desktop r=lightsofapollo

--HG--
extra : rebase_source : 94dc7e7fd3d5b394db31163a4d32d833dc9b7c1f
extra : source : fb318eb4a908f0eb418f5f5fede2f11b81bdd51f
This commit is contained in:
Gregory Arndt 2014-12-11 11:19:21 -08:00
parent 707f267b94
commit b4f7f00dfe
2 changed files with 50 additions and 0 deletions

View File

@ -22,6 +22,7 @@ flags:
- gaia-build-unit
- gaia-js-integration
- gaia-linter
- gaia-unit
- gaia-ui-test-accessibility
- gaia-ui-test-functional
- gaia-ui-test-unit
@ -130,6 +131,10 @@ tests:
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:

View File

@ -0,0 +1,45 @@
---
task:
created: '{{now}}'
deadline: '{{#from_now}}24 hours{{/from_now}}'
metadata:
source: http://todo.com/soon
owner: {{owner}}
name: Gaia Unit Test
description: Gaia Unit Test
workerType: b2gtest
provisionerId: aws-provisioner
scopes:
- 'docker-worker:cache:sources-gaia'
payload:
cache:
sources-gaia: '/home/worker/gaia'
image: '{{#docker_image}}tester{{/docker_image}}'
maxRunTime: 3600
command:
- entrypoint
- ./bin/pull_gaia.sh &&
- >
python ./mozharness/scripts/gaia_unit.py
--no-read-buildbot-config
--config-file ./mozharness/configs/b2g/gaia_unit_production_config.py
--config-file ./mozharness_configs/gaia_integration_override.py
--download-symbols ondemand
--installer-url {{build_url}}
--test-url {{tests_url}}
--gaia-repo https://hg.mozilla.org/integration/gaia-central
--gaia-dir /home/worker
--xre-url https://s3-us-west-2.amazonaws.com/test-caching/packages/xre.linux-x86_64.zip
artifacts:
'public/build':
type: directory
path: '/home/worker/artifacts/'
expires: '{{#from_now}}1 year{{/from_now}}'
extra:
treeherder:
symbol: 'Gu'
productName: b2g