Skip to content

Running the tests

Algiane edited this page Jun 22, 2018 · 1 revision

Home

ParMMG uses ctest.

Enabling and running the tests

When configuring the build, enable the BUILD_TESTING cmake option and set the CI_DIR_INPUTS to a location containing the contents of the TestParMmg repository. Then build the project as usual and run ctest:

ctest
ctest -V
ctest -N
ctest -R cube_unit-dual_density-1

Notes on OSX

Both mpich and open-mpi can be installed and used on osx using brew like this:

brew install mpich
brew unlink mpich
brew install open-mpi
brew unlink open-mpi; brew link mpich

Home