diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-10-11 15:56:19 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-12 18:01:19 +0200 |
commit | 8ad18813fb701122bc3d688be02041a63ff2b579 (patch) | |
tree | 44b90f358bd774b582359ce43e35abdfeab2d992 /tests/auto/qdirectpainter/tst_qdirectpainter.cpp | |
parent | 7c64ab4966e24834768eb1a09b3d2fd08471787a (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/qdirectpainter/tst_qdirectpainter.cpp')
-rw-r--r-- | tests/auto/qdirectpainter/tst_qdirectpainter.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/auto/qdirectpainter/tst_qdirectpainter.cpp b/tests/auto/qdirectpainter/tst_qdirectpainter.cpp index d33098dfdd..550c2e96c0 100644 --- a/tests/auto/qdirectpainter/tst_qdirectpainter.cpp +++ b/tests/auto/qdirectpainter/tst_qdirectpainter.cpp @@ -42,8 +42,6 @@ #include <QtTest/QtTest> -#ifdef Q_WS_QWS - //TESTED_CLASS= //TESTED_FILES= @@ -245,7 +243,3 @@ void tst_QDirectPainter::reservedSynchronous() QTEST_MAIN(tst_QDirectPainter) #include "tst_qdirectpainter.moc" - -#else // Q_WS_QWS -QTEST_NOOP_MAIN -#endif |