File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,9 @@ if ( ENABLE_TESTS )
242242 enable_testing ()
243243
244244 # emulate GNU Autotools `make check`
245- add_custom_target (check COMMAND ${CMAKE_CTEST_COMMAND} -C $<CONFIG>)
245+ add_custom_target (check COMMAND ${CMAKE_CTEST_COMMAND} -C $<CONFIG> --output -on -failure)
246+ add_custom_target (build_tests) # Make target to build all tests
247+ add_dependencies (build_tests ${LIB_NAME} ${LIB_NAME} -static )
246248
247249 find_program ( JSONLINT jsonlint )
248250 find_program ( DIFF diff )
@@ -290,6 +292,7 @@ if ( ENABLE_TESTS )
290292 add_executable ( ${TEST} EXCLUDE_FROM_ALL ${UNIT_TEST} )
291293 target_link_libraries ( ${TEST} ${LIB_NAME} )
292294 add_dependencies ( check ${TEST} )
295+ add_dependencies ( build_tests ${TEST} )
293296 set_target_properties ( ${TEST}
294297 PROPERTIES
295298 RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR} /bin )
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ print_creation_date: true
3030creation_date : %Y-%m-%d %H:%M %z
3131extra_mods : iso_fortran_env:https://gcc.gnu.org/onlinedocs/gfortran/ISO_005fFORTRAN_005fENV.html
3232 ifcore:https://software.intel.com/en-us/node/525900
33- md_extensions : markdown.extensions.toc(anchorlink=False)
34- markdown.extensions.smarty(smart_quotes=False)
33+ md_extensions : markdown.extensions.toc
34+ markdown.extensions.smarty
3535---
3636
3737--------------------
You can’t perform that action at this time.
0 commit comments