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 ------ 1 file changed, 6 deletions(-) (limited to 'tests/auto/tools/qmake/tst_qmake.cpp') 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 -- cgit v1.2.3