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 )
242
242
enable_testing ()
243
243
244
244
# 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 )
246
248
247
249
find_program ( JSONLINT jsonlint )
248
250
find_program ( DIFF diff )
@@ -290,6 +292,7 @@ if ( ENABLE_TESTS )
290
292
add_executable ( ${TEST} EXCLUDE_FROM_ALL ${UNIT_TEST} )
291
293
target_link_libraries ( ${TEST} ${LIB_NAME} )
292
294
add_dependencies ( check ${TEST} )
295
+ add_dependencies ( build_tests ${TEST} )
293
296
set_target_properties ( ${TEST}
294
297
PROPERTIES
295
298
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
30
30
creation_date : %Y-%m-%d %H:%M %z
31
31
extra_mods : iso_fortran_env:https://gcc.gnu.org/onlinedocs/gfortran/ISO_005fFORTRAN_005fENV.html
32
32
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
35
35
---
36
36
37
37
--------------------
You can’t perform that action at this time.
0 commit comments