Data submodule instead of CMake External Data
This PR ditches the CMake External Data stuff due to complicated handling and instead uses a git submodule in Tests/Data
to provide test files. It will get checked out automatically when OGS_BUILD_TESTS=ON
.
I also added an option (-o [dir]
) to the cli to specify an output directory, see af0f0dc8. Should the output directory be stored somewhere for later use? At the moment it is simply passed to solveProcesses()
.
The data submodule is a normal git repository (I also tried git-lfs but is slower when downloading / uploading and it is one dependency more because it has to be installed in addition to git). We just fill it with data and see if we hit some performance problems in the future...
Also unit tests can makes use of input files now. You can use data_path
pointing [source-dir/Tests/Data]
. For writing output files you can use data_binary_path
pointing to [build-dir]/Tests/Data
(see BuildInfo.h).
-
Update docs -
Fix MPI ctests