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:
Domen Vrankar committed 2016-11-27 23:20:34 +01:00
1 parent 9e57dafd74
commit a15f51620b
1 file changed
+1 -2
+1 -2
View File
@@ -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)