[dune-pdelab] dune-pdelab | [CMake] Disable the test magic in the core modules. (#48)

Dominic Kempf gitlab at conan2.iwr.uni-heidelberg.de
Wed Jul 15 10:28:11 CEST 2015


New comment for Merge Request 48

http://conan2.iwr.uni-heidelberg.de/git/pdelab/dune-pdelab/merge_requests/48#note_1722


Dominic Kempf

#7 and !8 was on that. Sorry if you missed that.

In fact, there is good reasons to avoid the testing magic:
* ctest is ONLY usable through "make test", which limits it severly
* As soon as one test does not compile, you cannot run the test suite
* There are some hidden assumptions in the magic: Tests need to reside in directories called "test" etc.
* the MAKE_FLAGS on make test issue is handled
* the implementation is a mess

The new implementation uses (as you proposed in FS1621) a target build_tests, but hides the details through the macro pdelab_add_test introduced in f2ad0e0aaba6eb9b9f591bd52b13675392b61bb0.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune-pdelab/attachments/20150715/cfb37640/attachment.htm>


More information about the dune-pdelab mailing list