summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2023-05-31 12:08:10 +0200
committerFlorian Bruhin <me@the-compiler.org>2023-05-31 12:08:10 +0200
commit68e61a239d9b6740c1a6e06fd13515e44e734eb8 (patch)
treebab566f45a615abad770f718d2b15100135ffdaf
parent839c8b6fe9b4a79e2ec060e852331ba74a5ad936 (diff)
downloadqutebrowser-68e61a239d9b6740c1a6e06fd13515e44e734eb8.tar.gz
qutebrowser-68e61a239d9b6740c1a6e06fd13515e44e734eb8.zip
ci: Ignore spurious QPainter messages
-rw-r--r--pytest.ini2
-rw-r--r--tests/end2end/fixtures/quteprocess.py3
2 files changed, 5 insertions, 0 deletions
diff --git a/pytest.ini b/pytest.ini
index 46a22c5c8..e4d1ba065 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -57,6 +57,8 @@ qt_log_ignore =
# Qt 6.5 debug build
# WORKAROUND for https://www.riverbankcomputing.com/pipermail/pyqt/2023-March/045215.html
^QObject::connect: Connecting from COMPAT signal \(QSocketNotifier::activated\(int\)\)$
+ # Randomly started showing up on Qt 5.15.2
+ ^QBackingStore::endPaint\(\) called with active painter; did you forget to destroy it or call QPainter::end\(\) on it?$
xfail_strict = true
filterwarnings =
error
diff --git a/tests/end2end/fixtures/quteprocess.py b/tests/end2end/fixtures/quteprocess.py
index 8fbd62eee..a30129beb 100644
--- a/tests/end2end/fixtures/quteprocess.py
+++ b/tests/end2end/fixtures/quteprocess.py
@@ -73,6 +73,9 @@ def is_ignored_lowlevel_message(message):
# fallback.
# INVALID: ", source: userscript:_qute_stylesheet (65)
'", source: userscript:_qute_stylesheet (65)',
+
+ # Randomly started showing up on Qt 5.15.2
+ 'QPaintDevice: Cannot destroy paint device that is being painted',
]
return any(testutils.pattern_match(pattern=pattern, value=message)
for pattern in ignored_messages)