aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/scenegraph_lancelot
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2020-08-17 08:27:52 +0200
committerEirik Aavitsland <eirik.aavitsland@qt.io>2020-08-17 08:31:35 +0200
commit434dbf0e50804e4d2f107dd3c1bf6fae64614971 (patch)
tree89dedd2b8eeb60c9f5929d42e23b768452c35ad2 /tests/manual/scenegraph_lancelot
parentafa5f523799a9be93b00e8b0c4315c695934cf3f (diff)
Disable redundant no-text run in lancelot test
The no-text test case is normally not meaningful, so hide it behind a #define flag Change-Id: I02b511d5e1114eb5d6cd13d111e15a2044594bdd Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'tests/manual/scenegraph_lancelot')
-rw-r--r--tests/manual/scenegraph_lancelot/scenegraph/tst_scenegraph.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/manual/scenegraph_lancelot/scenegraph/tst_scenegraph.cpp b/tests/manual/scenegraph_lancelot/scenegraph/tst_scenegraph.cpp
index 4def908ffa..03bf0c3345 100644
--- a/tests/manual/scenegraph_lancelot/scenegraph/tst_scenegraph.cpp
+++ b/tests/manual/scenegraph_lancelot/scenegraph/tst_scenegraph.cpp
@@ -47,6 +47,7 @@ QString blockify(const QByteArray& s)
return block;
}
+//#define TEXTLESS_TEST
class tst_Scenegraph : public QObject
{
@@ -58,8 +59,10 @@ public:
private Q_SLOTS:
void initTestCase();
void cleanup();
+#ifdef TEXTLESS_TEST
void testNoTextRendering_data();
void testNoTextRendering();
+#endif
void testRendering_data();
void testRendering();
@@ -134,6 +137,7 @@ void tst_Scenegraph::cleanup()
QTest::qWait(20);
}
+#ifdef TEXTLESS_TEST
void tst_Scenegraph::testNoTextRendering_data()
{
setupTestSuite("text/");
@@ -146,7 +150,7 @@ void tst_Scenegraph::testNoTextRendering()
{
runTest(QStringList() << "-notext");
}
-
+#endif
void tst_Scenegraph::testRendering_data()
{