Cannot build/run tests with cmake
I'm currently using the releases/2.4 branch with fitting core modules. I build completely out-of-source in $TOPLEVEL_BUILDDIR
, meaning the respective build dirs are $TOPLEVEL_BUILDDIR/dune-{common,alugrid}
.
If I run ctest --build-and-test
in $TOPLEVEL_BUILDDIR/dune-alugrid
I get the following error:
└───> ctest --build-and-test
Test project $TOPLEVEL_BUILDDIR/dune-alugrid
CMake Error at $TOPLEVEL_BUILDDIR/dune-alugrid/dune/alugrid/impl/test/CTestTestfile.cmake:7 (include):
include could not find load file:
$TOPLEVEL_BUILDDIR/dune-alugrid/dune/alugrid/impl/test/BuildTests.cmake
Call Stack (most recent call first):
$TOPLEVEL_BUILDDIR/dune-alugrid/dune/alugrid/impl/CTestTestfile.cmake:10 (subdirs)
$TOPLEVEL_BUILDDIR/dune-alugrid/dune/alugrid/CTestTestfile.cmake:9 (subdirs)
$TOPLEVEL_BUILDDIR/dune-alugrid/dune/CTestTestfile.cmake:7 (subdirs)
CTestTestfile.cmake:10 (subdirs)
CMake Error at $TOPLEVEL_BUILDDIR/dune-alugrid/dune/alugrid/test/CTestTestfile.cmake:7 (include):
include could not find load file:
$TOPLEVEL_BUILDDIR/dune-alugrid/dune/alugrid/test/BuildTests.cmake
Call Stack (most recent call first):
$TOPLEVEL_BUILDDIR/dune-alugrid/dune/alugrid/CTestTestfile.cmake:10 (subdirs)
$TOPLEVEL_BUILDDIR/dune-alugrid/dune/CTestTestfile.cmake:7 (subdirs)
CTestTestfile.cmake:10 (subdirs)