Skip to content

Commit ff5abc0

Browse files
aavitQt Cherry-pick Bot
authored andcommitted
Baseline scenegraph test: avoid rendering blacklisted items
Employ the new functionality in the baseline framework that facilitates skipping blacklisted items prior to rendering. Useful if rendering certain scenes cause crashes on some platforms. Pick-to: 6.2 Change-Id: I9f545751bff66eac548fdac8212f0ade4df7b6de Reviewed-by: Paul Olav Tvete <[email protected]> (cherry picked from commit 4ca19ba) Reviewed-by: Qt Cherry-pick Bot <[email protected]> (cherry picked from commit 22936a7) (cherry picked from commit 0a110f6)
1 parent 741334d commit ff5abc0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/baseline/scenegraph/scenegraph/tst_baseline_scenegraph.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ class tst_Scenegraph : public QObject
3232

3333
private Q_SLOTS:
3434
void initTestCase();
35+
void init();
3536
void cleanup();
3637
#ifdef TEXTLESS_TEST
3738
void testNoTextRendering_data();
@@ -102,6 +103,11 @@ void tst_Scenegraph::initTestCase()
102103
QSKIP(msg);
103104
}
104105

106+
void tst_Scenegraph::init()
107+
{
108+
// This gets called for every row. QSKIP if current item is blacklisted on the baseline server:
109+
QBASELINE_SKIP_IF_BLACKLISTED;
110+
}
105111

106112
void tst_Scenegraph::cleanup()
107113
{

0 commit comments

Comments
 (0)