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/qtransformedscreen | |
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/qtransformedscreen')
-rw-r--r-- | tests/auto/qtransformedscreen/tst_qtransformedscreen.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/auto/qtransformedscreen/tst_qtransformedscreen.cpp b/tests/auto/qtransformedscreen/tst_qtransformedscreen.cpp index b62bf007ba..7aa19bcf82 100644 --- a/tests/auto/qtransformedscreen/tst_qtransformedscreen.cpp +++ b/tests/auto/qtransformedscreen/tst_qtransformedscreen.cpp @@ -42,8 +42,6 @@ #include <QtTest/QtTest> -#if defined(Q_WS_QWS) - //TESTED_CLASS= //TESTED_FILES= @@ -188,7 +186,3 @@ void tst_QTransformedScreen::qwsDisplay_setTransformation() QTEST_MAIN(tst_QTransformedScreen) #include "tst_qtransformedscreen.moc" - -#else // Q_WS_QWS -QTEST_NOOP_MAIN -#endif |