From 68e61a239d9b6740c1a6e06fd13515e44e734eb8 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 31 May 2023 12:08:10 +0200 Subject: ci: Ignore spurious QPainter messages --- pytest.ini | 2 ++ tests/end2end/fixtures/quteprocess.py | 3 +++ 2 files changed, 5 insertions(+) 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) -- cgit v1.2.3-54-g00ecf