Skip to content

WindNinja Tests

Jason Forthofer edited this page Mar 16, 2016 · 3 revisions

WindNinja contains a system to automatically test some aspects of the code. Below describes how to run the tests.

Full test

To run the full test, do this:

WINDNINJA_DATA=/path/to/src/windninja/data make test

NOMADS weather model downloads

To test if the NOMADS server code and server is operating properly, do this:

WINDNINJA_DATA=/path/to/src/windninja/data ctest -R nomads

To do the tests in parallel do this:

WINDNINJA_DATA=/path/to/src/windninja/data ctest -j 6 -R nomads