diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-10-11 17:40:43 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-17 03:30:55 +0200 |
commit | 55f15606055852d511bebe0d5b59a0ae9d9d4fc1 (patch) | |
tree | c26c131c480aa48c6bd2eb31435d14af9f81a135 /tests/auto/tools/qmake/tst_qmake.cpp | |
parent | 9e31f88d7a5038070a1f2956d4d6fd043c62df36 (diff) |
Remove redundant logic from tools autotests.
The tools tests are not built for cross-compiled Qt builds, so the logic
to make those tests empty when cross-compiled is redundant.
Change-Id: Ia3a3a680d7ade2cee78aa633b41c9ef5be6f2f15
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/tools/qmake/tst_qmake.cpp')
-rw-r--r-- | tests/auto/tools/qmake/tst_qmake.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/auto/tools/qmake/tst_qmake.cpp b/tests/auto/tools/qmake/tst_qmake.cpp index 2775b5380b..8de822b47a 100644 --- a/tests/auto/tools/qmake/tst_qmake.cpp +++ b/tests/auto/tools/qmake/tst_qmake.cpp @@ -41,8 +41,6 @@ #include <QtTest/QtTest> -#if !defined(QMAKE_CROSS_COMPILED) - #include "testcompiler.h" #include <QObject> @@ -512,7 +510,3 @@ void tst_qmake::substitutes() QTEST_MAIN(tst_qmake) #include "tst_qmake.moc" - -#else // QMAKE_CROSS_COMPILED -QTEST_NOOP_MAIN -#endif |