cd $HOME/mofem_installmkdir libcd lib/spack setup mofem-cephas@develop copy_user_modules=False./spconfig.py $HOME/mofem_install/mofem-cephas/mofem/make -j4ctestmake install
ctest
$ ctest*********************************No test configuration file found!*********************************Usage
ctest [options]
Hello,
MoFEM comes with built-in tests but by default they are off. To enable the tests modify spconfig.py before building. For mofem-cephas or core libraries change OFF to ON:
-DMOFEM_BUILD_TESTS=OFF
And the same for users_modules change:
-DMOFEM_UM_BUILD_TESTS=OFF
Open file spconfig.py and change line to
-DMOFEM_UM_BUILD_TETS=ON
./spconfig.py $HOME/mofem_install/mofem-cephas/mofem/
make -j4
ctest
Lukasz