test: Use the same generator in CMake integration tests

This commit is contained in:
Paweł Bylica 2019-05-15 14:10:41 +02:00
parent b5a527c39a
commit f4f2b5db01
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
1 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ file(MAKE_DIRECTORY ${build_dir} ${use_evmc_build_dir} ${use_instructions_build_
add_test( add_test(
NAME cmake_package/configure NAME cmake_package/configure
COMMAND ${CMAKE_COMMAND} ${PROJECT_SOURCE_DIR} -DCMAKE_INSTALL_PREFIX=${install_dir} COMMAND ${CMAKE_COMMAND} -G ${CMAKE_GENERATOR} ${PROJECT_SOURCE_DIR} -DCMAKE_INSTALL_PREFIX=${install_dir}
WORKING_DIRECTORY ${build_dir} WORKING_DIRECTORY ${build_dir}
) )
@ -24,7 +24,7 @@ set_tests_properties(cmake_package/install PROPERTIES DEPENDS cmake_package/conf
add_test( add_test(
NAME cmake_package/use_evmc/configure NAME cmake_package/use_evmc/configure
COMMAND ${CMAKE_COMMAND} ${PROJECT_SOURCE_DIR}/examples/use_evmc_in_cmake -DCMAKE_PREFIX_PATH=${install_dir} COMMAND ${CMAKE_COMMAND} -G ${CMAKE_GENERATOR} ${PROJECT_SOURCE_DIR}/examples/use_evmc_in_cmake -DCMAKE_PREFIX_PATH=${install_dir}
WORKING_DIRECTORY ${use_evmc_build_dir} WORKING_DIRECTORY ${use_evmc_build_dir}
) )
set_tests_properties(cmake_package/use_evmc/configure PROPERTIES DEPENDS cmake_package/install) set_tests_properties(cmake_package/use_evmc/configure PROPERTIES DEPENDS cmake_package/install)
@ -38,7 +38,7 @@ set_tests_properties(cmake_package/use_evmc/build PROPERTIES DEPENDS cmake_packa
add_test( add_test(
NAME cmake_package/use_instructions/configure NAME cmake_package/use_instructions/configure
COMMAND ${CMAKE_COMMAND} ${PROJECT_SOURCE_DIR}/examples/use_instructions_in_cmake -DCMAKE_PREFIX_PATH=${install_dir} COMMAND ${CMAKE_COMMAND} -G ${CMAKE_GENERATOR} ${PROJECT_SOURCE_DIR}/examples/use_instructions_in_cmake -DCMAKE_PREFIX_PATH=${install_dir}
WORKING_DIRECTORY ${use_instructions_build_dir} WORKING_DIRECTORY ${use_instructions_build_dir}
) )
set_tests_properties(cmake_package/use_instructions/configure PROPERTIES DEPENDS cmake_package/install) set_tests_properties(cmake_package/use_instructions/configure PROPERTIES DEPENDS cmake_package/install)