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
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
Add description about download timeouts and resulting file corruption.
  • Loading branch information
shinji-s committed Aug 18, 2020
commit b06df5e2347d8952547643f27a870dd846c805eb
2 changes: 1 addition & 1 deletion INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ However if you wish to exercise more of the functionality of ecCodes, you are ad
> cmake ... -DENABLE_EXTRA_TESTS=ON

In this mode the tests will take longer and you need to be connected to the internet so data files can be downloaded
for the tests.
for the tests. Depending on the speed of your connection, downloading tests may timeout before completion. Then you may want to bump up 'TIMEOUT' parameter in DartConfiguration.tcl. If incomplete file is left behind after a timeout, downloading tests will continue to fail. You'll have to remove the corrupt file itself and the associated .localmd5 file to have download retried.

Also note that if you have several CPUs, you can invoke the "make" and "ctest" commands above in parallel
(e.g. "make -j4", "ctest -j4"). This will speed up the whole build/test process significantly.
Expand Down