From 434dbf0e50804e4d2f107dd3c1bf6fae64614971 Mon Sep 17 00:00:00 2001 From: Eirik Aavitsland Date: Mon, 17 Aug 2020 08:27:52 +0200 Subject: 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 --- tests/manual/scenegraph_lancelot/scenegraph/tst_scenegraph.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/manual/scenegraph_lancelot/scenegraph') 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() { -- cgit v1.2.3