Don't test linguist macros if cross compiling.
authorStephen Kelly <stephen.kelly@kdab.com>
Tue, 25 Sep 2012 08:49:06 +0000 (10:49 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 26 Sep 2012 06:19:33 +0000 (08:19 +0200)
linguist tools are not bootstrapped.

Change-Id: Iae6b577db17be788a04036a06238191aa6896c01
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
tests/auto/cmake/CMakeLists.txt

index c60829c..2ec3aea 100644 (file)
@@ -29,7 +29,9 @@ find_package(Qt5Core REQUIRED)
 
 include("${_Qt5CTestMacros}")
 
-expect_pass(test_translation_macros)
+if(NOT CMAKE_CROSSCOMPILING)
+    expect_pass(test_translation_macros)
+endif()
 
 find_package(Qt5Widgets)
 if (Qt5Widgets_FOUND)