1 --- criterion-v2.3.3/test/CMakeLists.txt~ 2018-11-05 01:59:28.000000000 +0100
2 +++ criterion-v2.3.3/test/CMakeLists.txt 2020-05-06 10:18:05.799801261 +0200
4 add_dependencies(criterion_tests criterion_unit_tests)
6 add_test(criterion_unit_tests criterion_unit_tests)
8 -find_program(SH NAMES sh sh.exe)
10 -if (SH) # we disable the scripted tests when sh is not available
11 - add_custom_target(cram_tests)
13 - add_custom_command(TARGET cram_tests POST_BUILD
14 - COMMAND "${CMAKE_COMMAND}"
15 - -DPROJECT_BINARY_DIR="${PROJECT_BINARY_DIR}"
16 - -DCRAM_PATH="${CMAKE_CURRENT_SOURCE_DIR}/cram"
17 - -DCRAM_SHELL="${SH}"
18 - -P "${CMAKE_MODULE_PATH}/Cram.cmake"
21 - add_test(cram_tests cmake --build ${PROJECT_BINARY_DIR} --target cram_tests)