Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check integrity of downloaded data files and avoid running dependent tests if a broken file is found. #41

Open
wants to merge 12 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix fixture name references for download _gts.
  • Loading branch information
shinji-s committed Aug 19, 2020
commit 4c8cce05ff1b30d3d421aafadba09e40514a5703
2 changes: 1 addition & 1 deletion data/gts/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if( ENABLE_EXTRA_TESTS )
# NOCHECK
NAMES ${gts_files_to_download} ${gts_refs_to_download}
)
set_tests_properties( eccodes_download_gts PROPERTIES FIXTURES_SETUP fixtures_download_gts )
set_tests_properties( eccodes_download_gts PROPERTIES FIXTURES_SETUP fixture_download_gts )
endif()

# Copy other files - e.g. text files etc from the source data/gts dir
Expand Down
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ if( HAVE_BUILD_TOOLS )
TYPE SCRIPT
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/${test}.sh
RESOURCES asca_139.t1.ref )
set_tests_properties( eccodes_t_${test} PROPERTIES FIXTURES_REQUIRED "fixture_download_gribs;fixture_download_tigge_gribs;fixture_download_bufrs;fixture_download_metars;eccodes_download_gts" )
set_tests_properties( eccodes_t_${test} PROPERTIES FIXTURES_REQUIRED "fixture_download_gribs;fixture_download_tigge_gribs;fixture_download_bufrs;fixture_download_metars;fixture_download_gts" )
endforeach()
endif()

Expand Down