diff --git a/.github/workflows/io_gnu.yml b/.github/workflows/io_gnu.yml index 6ca1ce9d3..90c169839 100644 --- a/.github/workflows/io_gnu.yml +++ b/.github/workflows/io_gnu.yml @@ -109,10 +109,10 @@ jobs: which ncdump cmake -DSWITCH=${GITHUB_WORKSPACE}/ww3/model/tests/data/switch.io -DCMAKE_BUILD_TYPE=Debug -DCMAKE_Fortran_FLAGS="-g -fprofile-abs-path -fprofile-arcs -ftest-coverage -O0 -Wall -fno-omit-frame-pointer -fsanitize=address" -DCMAKE_C_FLAGS="-g -fprofile-abs-path -fprofile-arcs -ftest-coverage -O0 -Wall -fno-omit-frame-pointer -fsanitize=address" .. make -j2 VERBOSE=1 - ls -l pwd ./bin/ww3_grid ls -l + ls -l model/test/data ctest --verbose --output-on-failure --rerun-failed gcovr --root .. -v --html-details --exclude ../model/tests --exclude CMakeFiles --print-summary -o test-coverage.html &> /dev/null diff --git a/model/tests/CMakeLists.txt b/model/tests/CMakeLists.txt index d1949c2ce..336edc39d 100644 --- a/model/tests/CMakeLists.txt +++ b/model/tests/CMakeLists.txt @@ -6,6 +6,7 @@ # Some very small test files may be committed to the repo. This # function copies such a data file to the build directory. function(copy_test_data name) + message(STATUS "Copying ${name} to ${CMAKE_CURRENT_BINARY_DIR}") file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/data/${name}" DESTINATION ${CMAKE_CURRENT_BINARY_DIR} FILE_PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ) @@ -14,6 +15,7 @@ endfunction() # Some very small test files may be committed to the repo. This # function copies such a data file to the build directory. function(copy_test_data_2 srcname destname) + message(STATUS "Copying ${srcname} to ${CMAKE_CURRENT_BINARY_DIR}/${destname}") file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/data/${srcname}" DESTINATION "${CMAKE_CURRENT_BINARY_DIR}" FILE_PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)