summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/tools/qmake/tst_qmake.cpp6
-rw-r--r--tests/auto/tools/uic/tst_uic.cpp5
2 files changed, 0 insertions, 11 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
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 <QtCore/QByteArray>
#include <QtCore/QLibraryInfo>
-#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