From: Stephen Kelly Date: Tue, 25 Sep 2012 08:49:06 +0000 (+0200) Subject: Don't test linguist macros if cross compiling. X-Git-Tag: accepted/tizen/20131212.181521~209 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=249019ee0f0f453b05089fb25a48a13970bd0e60;p=platform%2Fupstream%2Fqttools.git Don't test linguist macros if cross compiling. linguist tools are not bootstrapped. Change-Id: Iae6b577db17be788a04036a06238191aa6896c01 Reviewed-by: Rohan McGovern Reviewed-by: Stephen Kelly --- diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt index c60829c..2ec3aea 100644 --- a/tests/auto/cmake/CMakeLists.txt +++ b/tests/auto/cmake/CMakeLists.txt @@ -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)