Bug 1223394 - Use desktop-test image for Mulet mochitests to fix audio issues, r=aus, a=philor

--HG--
extra : rebase_source : 73bb5268f8be0ac64eda5b083f05543913ce10b7
This commit is contained in:
Gregory Arndt 2015-11-17 14:40:31 -06:00
Родитель 3b60bb0151
Коммит 5540610f3d
2 изменённых файлов: 32 добавлений и 14 удалений

Просмотреть файл

@ -1,6 +1,6 @@
[DEFAULT] [DEFAULT]
tags=msg tags=msg
skip-if = buildapp == 'b2g' || buildapp == 'mulet' # Bug 1191270, bug 1037287, bug 967606, bug 1096400, etc skip-if = buildapp == 'b2g' # Bug 1191270, bug 1037287, bug 967606, bug 1096400, etc
support-files = support-files =
head.js head.js
hello.ogg hello.ogg

Просмотреть файл

@ -1,24 +1,42 @@
--- ---
$inherits: $inherits:
from: 'tasks/tests/b2g_unittest_base.yml' from: 'tasks/test.yml'
task: task:
metadata: metadata:
name: '[TC] Mulet Mochitests ( {{chunk}} )' name: '[TC] Mulet Mochitests ( {{chunk}} )'
description: Mulet Mochitest run {{chunk}} description: Mulet Mochitest run {{chunk}}
scopes:
- 'docker-worker:cache:tc-vcs'
- 'docker-worker:cache:linux-cache'
- 'docker-worker:capability:device:loopbackVideo'
- 'docker-worker:capability:device:loopbackAudio'
payload: payload:
image: '{{#docker_image}}desktop-test{{/docker_image}}'
cache:
# So pip installs are cached...
linux-cache: /home/worker/.cache
tc-vcs: '/home/worker/.tc-vcs'
capabilities:
devices:
loopbackVideo: true
loopbackAudio: true
env:
NEED_XVFB: true
NEED_PULSEAUDIO: true
MOZHARNESS_SCRIPT: 'mozharness/scripts/desktop_unittest.py'
MOZHARNESS_CONFIG: >
mozharness/configs/unittests/linux_unittest.py
mozharness/configs/remove_executables.py
command: command:
- entrypoint # entrypoint ensures we are running in xvfb - bash
- > - /home/worker/bin/test.sh
python ./mozharness/scripts/desktop_unittest.py - --no-read-buildbot-config
--no-read-buildbot-config - --installer-url={{build_url}}
--config-file ./mozharness/configs/unittests/linux_unittest.py - --test-packages-url={{test_packages_url}}
--config-file ./mozharness_configs/remove_executables.py - --download-symbols=ondemand
--installer-url {{build_url}} - --mochitest-suite=plain-chunked
--test-packages-url {{test_packages_url}} - --total-chunk={{total_chunks}}
--download-symbols ondemand - --this-chunk={{chunk}}
--mochitest-suite plain-chunked
--total-chunk={{total_chunks}}
--this-chunk={{chunk}}
artifacts: artifacts:
'public/build': 'public/build':
type: directory type: directory