summaryrefslogtreecommitdiffstats
path: root/tests/auto/qwswindowsystem
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-10-11 15:56:19 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-12 18:01:19 +0200
commit8ad18813fb701122bc3d688be02041a63ff2b579 (patch)
tree44b90f358bd774b582359ce43e35abdfeab2d992 /tests/auto/qwswindowsystem
parent7c64ab4966e24834768eb1a09b3d2fd08471787a (diff)
Avoid building empty, inapplicable QWS tests.
It is better to avoid building a test when we know that it is not applicable, rather than building an empty test that appears to pass. Note that some of the tests were already excluded by tests/auto/other.pro, but still had the preprocessor directives to make an empty test. Change-Id: I71b75c37a05f6e20dbef43d82f72b29b35ef496a Reviewed-on: http://codereview.qt-project.org/6410 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/qwswindowsystem')
-rw-r--r--tests/auto/qwswindowsystem/tst_qwswindowsystem.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/auto/qwswindowsystem/tst_qwswindowsystem.cpp b/tests/auto/qwswindowsystem/tst_qwswindowsystem.cpp
index 80de6e96ad..dc520a4482 100644
--- a/tests/auto/qwswindowsystem/tst_qwswindowsystem.cpp
+++ b/tests/auto/qwswindowsystem/tst_qwswindowsystem.cpp
@@ -42,8 +42,6 @@
#include <QtTest/QtTest>
-#ifdef Q_WS_QWS
-
//TESTED_CLASS=
//TESTED_FILES=gui/embedded/qwindowsystem_qws.h gui/embedded/qwindowsystem_qws.cpp
@@ -648,7 +646,3 @@ void tst_QWSWindowSystem::task188025()
QTEST_MAIN(tst_QWSWindowSystem)
#include "tst_qwswindowsystem.moc"
-
-#else // Q_WS_QWS
-QTEST_NOOP_MAIN
-#endif