Bug 1481911 [wpt PR 12360] - [wptrunner] Make test skipping explicit, a=testonly

Automatic update from web-platform-tests[wptrunner] Make test skipping explicit

Explicitly report on skipped "jsshell" tests during execution. This
gives users an indication that the behavior is intentional and promotes
parity with the output generated by the `--list-tests` flag of the `wpt
run.  command.

--
fixup! [wptrunner] Make test skipping explicit

--

wpt-commits: 7216e51e5adc60147487e5226632696aadb9f677, 68ad8b6ff5226972ee9c5418f931e6b4e03eeac3
wpt-pr: 12360
This commit is contained in:
Mike Pennisi 2018-08-16 09:43:02 +00:00 коммит произвёл moz-wptsync-bot
Родитель bd7e50535d
Коммит 32ce5df713
2 изменённых файлов: 3 добавлений и 8 удалений

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

@ -642169,7 +642169,7 @@
"support"
],
"tools/wptrunner/wptrunner/wptrunner.py": [
"1ee4d54c71ebfe8d65fe9a99fe1e3055711a6049",
"aab5996afd94e78686a027fd8546ca83e77766f4",
"support"
],
"tools/wptrunner/wptrunner/wpttest.py": [

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

@ -238,15 +238,10 @@ def run_tests(config, test_paths, product, **kwargs):
if test_type == "testharness":
run_tests = {"testharness": []}
for test in test_loader.tests["testharness"]:
if test.testdriver and not executor_cls.supports_testdriver:
if (test.testdriver and not executor_cls.supports_testdriver) or (
test.jsshell and not executor_cls.supports_jsshell):
logger.test_start(test.id)
logger.test_end(test.id, status="SKIP")
elif test.jsshell and not executor_cls.supports_jsshell:
# We expect that tests for JavaScript shells
# will not be run along with tests that run in
# a full web browser, so we silently skip them
# here.
pass
else:
run_tests["testharness"].append(test)
else: