This commit is contained in:
Florian Bruhin 2016-09-05 16:21:30 +02:00
parent ba718a2b9d
commit 61270b8f92
2 changed files with 7 additions and 8 deletions

View File

@ -100,6 +100,7 @@ def _get_version_tag(tag):
else:
raise ValueError("Invalid package {!r}".format(package))
def _get_backend_tag(tag):
"""Handle a @qtwebengine_*/@qtwebkit_skip tag."""
pytest_marks = {
@ -140,9 +141,7 @@ def pytest_collection_modifyitems(config, items):
# markers, so we should apply the most general markers last.
markers = [
('qtwebengine_createWindow', 'Skipped because of QTBUG-54419',
pytest.mark.skipif,
not qtbug_54419_fixed and
config.webengine),
pytest.mark.skipif, not qtbug_54419_fixed and config.webengine),
('qtwebengine_todo', 'QtWebEngine TODO', pytest.mark.xfail,
config.webengine),
('qtwebengine_skip', 'Skipped with QtWebEngine', pytest.mark.skipif,