diff options
author | Domen Vrankar <domen.vrankar@gmail.com> | 2016-11-06 12:59:27 (GMT) |
---|---|---|
committer | Domen Vrankar <domen.vrankar@gmail.com> | 2016-11-27 22:20:34 (GMT) |
commit | a15f51620ba0142e05cfa6aebd346a5cf76ca302 (patch) | |
tree | 4320e0fc457e1209d585b50e132e7c348bc6fd01 /Tests | |
parent | 9e57dafd7462c568e0fdce9bd69b61e8700529df (diff) | |
download | CMake-a15f51620ba0142e05cfa6aebd346a5cf76ca302.zip CMake-a15f51620ba0142e05cfa6aebd346a5cf76ca302.tar.gz CMake-a15f51620ba0142e05cfa6aebd346a5cf76ca302.tar.bz2 |
Tests: CPack fix for invalid config file path
Invalid config file path was passed to
per test specific prerequirements script.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/CPack/CPackTestHelpers.cmake | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Tests/RunCMake/CPack/CPackTestHelpers.cmake b/Tests/RunCMake/CPack/CPackTestHelpers.cmake index 7e6b4b1..7cf44ed 100644 --- a/Tests/RunCMake/CPack/CPackTestHelpers.cmake +++ b/Tests/RunCMake/CPack/CPackTestHelpers.cmake @@ -19,8 +19,7 @@ function(run_cpack_test_common_ TEST_NAME types build SUBTEST_SUFFIX source) include("${RunCMake_SOURCE_DIR}/${TEST_TYPE}/${TEST_NAME}-Prerequirements.cmake") set(FOUND_PREREQUIREMENTS false) - get_test_prerequirements("FOUND_PREREQUIREMENTS" - "${TEST_CONFIG_DIR}/${type}_config.cmake") + get_test_prerequirements("FOUND_PREREQUIREMENTS" "${config_file}") # skip the test if prerequirements are not met if(NOT FOUND_PREREQUIREMENTS) |