ctest: No test configuration file found!

214 views
Skip to first unread message

Hoang Nguyen

unread,
Sep 18, 2018, 6:50:36 AM9/18/18
to mofem...@googlegroups.com
Hi,

I'm installing the core library using these commands

cd $HOME/mofem_install
mkdir lib
cd lib/
spack setup mofem-cephas@develop copy_user_modules=False
./spconfig.py $HOME/mofem_install/mofem-cephas/mofem/
make -j4
ctest
make install

when hitting

ctest

there is only the below message shown

$ ctest
*********************************
No test configuration file found!
*********************************
Usage

  ctest [options]


Can anyone advise me on this case please?

Thank you in advance

Regards,
Hoang


Lukasz Kaczmraczyk

unread,
Sep 18, 2018, 7:06:47 AM9/18/18
to mofem...@googlegroups.com

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

Reply all
Reply to author
Forward
0 new messages