Only run the cmake test in the install location if not already done.

For developer builds, there is no need to run the test a second time.

Change-Id: I3564874cb2e9d6cc243e25a89ecd7f89df23b0bd
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
Stephen Kelly 2013-07-15 10:54:55 +02:00 committed by The Qt Project
parent c843fac5df
commit 4a212be6f0

View File

@ -1,8 +1,10 @@
CMAKE_TEST_LOCATION = $$_PRO_FILE_PWD_/../cmake
prefix_build {
CMAKE_TEST_LOCATION = $$_PRO_FILE_PWD_/../cmake
CMAKE_PREFIX_PATH = $$[QT_INSTALL_PREFIX]
CMAKE_PREFIX_PATH = $$[QT_INSTALL_PREFIX]
CONFIG += insignificant_test
CONFIG += insignificant_test
include(ctest_testcase_common.prf)
include(ctest_testcase_common.prf)
}