From 55f15606055852d511bebe0d5b59a0ae9d9d4fc1 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Tue, 11 Oct 2011 17:40:43 +1000 Subject: 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 --- tests/auto/tools/qmake/tst_qmake.cpp | 6 ------ tests/auto/tools/uic/tst_uic.cpp | 5 ----- 2 files changed, 11 deletions(-) (limited to 'tests/auto/tools') 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 -#if !defined(QMAKE_CROSS_COMPILED) - #include "testcompiler.h" #include @@ -512,7 +510,3 @@ void tst_qmake::substitutes() QTEST_MAIN(tst_qmake) #include "tst_qmake.moc" - -#else // QMAKE_CROSS_COMPILED -QTEST_NOOP_MAIN -#endif diff --git a/tests/auto/tools/uic/tst_uic.cpp b/tests/auto/tools/uic/tst_uic.cpp index 754fa6e01b..45581e4400 100644 --- a/tests/auto/tools/uic/tst_uic.cpp +++ b/tests/auto/tools/uic/tst_uic.cpp @@ -47,8 +47,6 @@ #include #include -#ifndef Q_OS_WINCE - class tst_uic : public QObject { Q_OBJECT @@ -221,6 +219,3 @@ QString tst_uic::workingDir() const QTEST_APPLESS_MAIN(tst_uic) #include "tst_uic.moc" -#else -QTEST_NOOP_MAIN -#endif -- cgit v1.2.3