File tree Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Expand file tree Collapse file tree 3 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 11option (autobuild "auto-build HDF5 if missing/broken" on )
22
33option (ENABLE_COVERAGE "Code coverage tests" )
4+
45option (dev "developer mode" )
56
67option (matlab "check HDF5 file writes with Matlab" off )
78option (concepts "conceptual testing, for devs only" off )
89
910option (zlib_legacy "use old ZLIB 1.x" )
1011
11- set (CMAKE_EXPORT_COMPILE_COMMANDS true )
12-
1312set (CMAKE_TLS_VERIFY true )
1413
1514if (dev)
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ add_subdirectory(read)
1313
1414add_subdirectory (write)
1515
16-
1716target_sources (h5fortran PRIVATE
1817interface .f90 attributes.f90
19- ${CMAKE_CURRENT_BINARY_DIR} /pathlib.f90)
18+ ${CMAKE_CURRENT_BINARY_DIR} /pathlib.f90
19+ )
Original file line number Diff line number Diff line change @@ -3,8 +3,7 @@ add_executable(test_minimal test_minimal.f90)
33# as part of h5fortran
44target_link_libraries (test_minimal PRIVATE h5fortran::h5fortran)
55set_target_properties (test_minimal PROPERTIES LABELS unit)
6- add_test (NAME h5fortran:minimal
7- COMMAND $<TARGET_FILE:test_minimal>)
6+ add_test (NAME h5fortran:minimal COMMAND test_minimal)
87set_tests_properties (h5fortran:minimal PROPERTIES
98FIXTURES_SETUP h5lib
109TIMEOUT 5
@@ -24,7 +23,7 @@ target_compile_options(test_${name} PRIVATE "$<$<Fortran_COMPILER_ID:GNU>:-Wno-c
2423set_target_properties (test_${name} PROPERTIES LABELS unit)
2524
2625add_test (NAME h5fortran:${name}
27- COMMAND $<TARGET_FILE: test_${name} >
26+ COMMAND test_${name}
2827WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
2928)
3029set_tests_properties (h5fortran:${name} PROPERTIES
@@ -35,14 +34,14 @@ TIMEOUT 10
3534
3635if (${name} MATCHES ".*fail.*" )
3736 set_tests_properties (h5fortran:${name} PROPERTIES
38- WILL_FAIL true
39- LABELS shaky
40- DISABLED $<OR :$<BOOL :${CI} >,$<NOT :$<BOOL :test_shaky>>>
41- )
37+ WILL_FAIL true
38+ LABELS shaky
39+ DISABLED $<OR :$<BOOL :${CI} >,$<NOT :$<BOOL :test_shaky>>>
40+ )
4241else ()
4342 set_tests_properties (h5fortran:${name} PROPERTIES
44- LABELS unit
45- )
43+ LABELS unit
44+ )
4645endif ()
4746
4847endforeach ()
You can’t perform that action at this time.
0 commit comments