зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
3b60bb0151
Коммит
5540610f3d
|
@ -1,6 +1,6 @@
|
|||
[DEFAULT]
|
||||
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 =
|
||||
head.js
|
||||
hello.ogg
|
||||
|
|
|
@ -1,24 +1,42 @@
|
|||
---
|
||||
$inherits:
|
||||
from: 'tasks/tests/b2g_unittest_base.yml'
|
||||
from: 'tasks/test.yml'
|
||||
task:
|
||||
metadata:
|
||||
name: '[TC] Mulet Mochitests ( {{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:
|
||||
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:
|
||||
- entrypoint # entrypoint ensures we are running in xvfb
|
||||
- >
|
||||
python ./mozharness/scripts/desktop_unittest.py
|
||||
--no-read-buildbot-config
|
||||
--config-file ./mozharness/configs/unittests/linux_unittest.py
|
||||
--config-file ./mozharness_configs/remove_executables.py
|
||||
--installer-url {{build_url}}
|
||||
--test-packages-url {{test_packages_url}}
|
||||
--download-symbols ondemand
|
||||
--mochitest-suite plain-chunked
|
||||
--total-chunk={{total_chunks}}
|
||||
--this-chunk={{chunk}}
|
||||
- bash
|
||||
- /home/worker/bin/test.sh
|
||||
- --no-read-buildbot-config
|
||||
- --installer-url={{build_url}}
|
||||
- --test-packages-url={{test_packages_url}}
|
||||
- --download-symbols=ondemand
|
||||
- --mochitest-suite=plain-chunked
|
||||
- --total-chunk={{total_chunks}}
|
||||
- --this-chunk={{chunk}}
|
||||
artifacts:
|
||||
'public/build':
|
||||
type: directory
|
||||
|
|
Загрузка…
Ссылка в новой задаче