mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-15 03:02:22 -06:00
Tests: CPack fix for invalid config file path
Invalid config file path was passed to per test specific prerequirements script.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user