Bug 1346047 - Enable chrome style system mochitests and run style system mochitests on e10s. r=jmaher

MozReview-Commit-ID: 9Vj3mZL3IhJ

--HG--
extra : rebase_source : aaf926fa895c4d42da5b89ea7650a99f6967fec2
This commit is contained in:
Xidorn Quan 2017-03-10 12:38:38 +11:00
Родитель 63c152d62f
Коммит b3e8f1b558
7 изменённых файлов: 40 добавлений и 6 удалений

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

@ -6,4 +6,3 @@ support-files =
[browser_bug453896.js]
[browser_newtab_share_rule_processors.js]
skip-if = stylo # bug 1290224

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

@ -20,4 +20,3 @@ tags = fullscreen
tags = fullscreen
[test_hover.html]
[test_moz_document_rules.html]
skip-if = stylo # bug 1290224

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

@ -119,6 +119,12 @@ if CONFIG['MOZ_STYLO']:
TEST_HARNESS_FILES.testing.mochitest.tests.layout.style.test += [
'stylo-failures.md',
]
TEST_HARNESS_FILES.testing.mochitest.chrome.layout.style.test += [
'stylo-failures.md',
]
# TEST_HARNESS_FILES.testing.mochitest.browser.layout.style.test += [
# 'stylo-failures.md',
# ]
DEFINES['MOZILLA_INTERNAL_API'] = True
if CONFIG['MOZ_ENABLE_MASK_AS_SHORTHAND']:

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

@ -35,6 +35,9 @@ Any line which doesn't follow the format above would be ignored like comment.
* test_media_queries_dynamic.html [17]
* test_media_queries_dynamic_xbl.html [2]
* test_webkit_device_pixel_ratio.html: -webkit-device-pixel-ratio [3]
* browser_bug453896.js [8]
* test_display_mode.html [7]
* test_display_mode_reflow.html [2]
* test_all_shorthand.html: all shorthand servo/servo#15055 [*]
* Animation support:
* test_animations.html [70]
@ -476,10 +479,13 @@ Any line which doesn't follow the format above would be ignored like comment.
* test_rule_insertion.html [16]
* @-moz-document support
* test_rule_serialization.html [2]
* test_moz_document_rules.html [13]
* getComputedStyle style doesn't contain custom properties bug 1336891
* test_variable_serialization_computed.html [36]
* test_variables.html `custom property name` [2]
* test_css_supports.html: issues around @supports syntax servo/servo#15482 [8]
* test_author_specified_style.html: support serializing color as author specified [33]
* browser_newtab_share_rule_processors.js: agent style sheet sharing [1]
## Assertions

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

@ -73,6 +73,7 @@ stylo-tests:
- crashtest
- reftest-stylo
- mochitest-style
- mochitest-chrome-style
qr-tests:
- cppunit

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

@ -911,10 +911,10 @@ mochitest-webgl:
mochitest-style:
description: "Mochitest plain run for style system"
suite: mochitest/mochitest-style
suite: mochitest/plain-style
treeherder-symbol: tc-M(s)
loopback-video: true
e10s: false
e10s: both
run-on-projects:
by-test-platform:
linux64-stylo/.*: [ 'stylo', 'autoland', 'mozilla-inbound', 'mozilla-central', 'try' ]
@ -929,7 +929,29 @@ mochitest-style:
- unittests/linux_unittest.py
- remove_executables.py
extra-options:
- --mochitest-suite=mochitest-style
- --mochitest-suite=plain-style
mochitest-chrome-style:
description: "Mochitest chrome run for style system"
suite: mochitest/chrome-style
treeherder-symbol: tc-M(cs)
loopback-video: true
run-on-projects:
by-test-platform:
linux64-stylo/.*: [ 'stylo', 'autoland', 'mozilla-inbound', 'mozilla-central', 'try' ]
default: ['all']
e10s: false
mozharness:
mochitest-flavor: chrome
script: desktop_unittest.py
no-read-buildbot-config: true
config:
by-test-platform:
default:
- unittests/linux_unittest.py
- remove_executables.py
extra-options:
- --mochitest-suite=chrome-style
reftest:
description: "Reftest run"

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

@ -204,7 +204,8 @@ config = {
"jetpack-package-clipboard": ["--flavor=jetpack-package", "--subsuite=clipboard"],
"jetpack-addon": ["--flavor=jetpack-addon"],
"a11y": ["--flavor=a11y"],
"mochitest-style": ["--disable-e10s", "--failure-pattern-file=stylo-failures.md", "layout/style/test"],
"plain-style": ["--failure-pattern-file=stylo-failures.md", "layout/style/test"],
"chrome-style": ["--flavor=chrome", "--failure-pattern-file=../stylo-failures.md", "layout/style/test/chrome"],
},
# local reftest suites
"all_reftest_suites": {