💚 fix test names

This commit is contained in:
Niels Lohmann 2022-03-06 10:40:28 +01:00
parent 5d1e8ff1cd
commit cd8ca8017a
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -1,20 +1,20 @@
if (${CMAKE_VERSION} VERSION_GREATER "3.14.0") if (${CMAKE_VERSION} VERSION_GREATER "3.14.0")
add_test(NAME cmake_fetch_content_configure add_test(NAME cmake_fetch_content2_configure
COMMAND ${CMAKE_COMMAND} COMMAND ${CMAKE_COMMAND}
-G "${CMAKE_GENERATOR}" -G "${CMAKE_GENERATOR}"
-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
-Dnlohmann_json_source=${PROJECT_SOURCE_DIR} -Dnlohmann_json_source=${PROJECT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/project ${CMAKE_CURRENT_SOURCE_DIR}/project
) )
add_test(NAME cmake_fetch_content_build add_test(NAME cmake_fetch_content2_build
COMMAND ${CMAKE_COMMAND} --build . COMMAND ${CMAKE_COMMAND} --build .
) )
set_tests_properties(cmake_fetch_content_configure PROPERTIES set_tests_properties(cmake_fetch_content2_configure PROPERTIES
FIXTURES_SETUP cmake_fetch_content FIXTURES_SETUP cmake_fetch_content2
LABELS "git_required;not_reproducible" LABELS "git_required;not_reproducible"
) )
set_tests_properties(cmake_fetch_content_build PROPERTIES set_tests_properties(cmake_fetch_content2_build PROPERTIES
FIXTURES_REQUIRED cmake_fetch_content FIXTURES_REQUIRED cmake_fetch_content2
LABELS "git_required;not_reproducible" LABELS "git_required;not_reproducible"
) )
endif() endif()