diff --git a/cmake/modules/CMakeBuiltinFunctionsDocumentation.cmake b/cmake/modules/CMakeBuiltinFunctionsDocumentation.cmake index 77a78dc0702173c93c7abc91f4cd77c545e46ae7..cd9c7859c9601784974eb5f1daac6285938a3997 100644 --- a/cmake/modules/CMakeBuiltinFunctionsDocumentation.cmake +++ b/cmake/modules/CMakeBuiltinFunctionsDocumentation.cmake @@ -46,17 +46,6 @@ # # cmake --help-command add_executable # -# .. cmake_function:: add_test -# -# Adds a test to the testing suite. -# -# This is a cmake builtin command. -# For detailed information, check the cmake documentation: -# -# :: -# -# cmake --help-command add_test -# # .. cmake_variable:: CMAKE_<LANG>_COMPILER # # Set the compiler for the language LANG. diff --git a/doc/buildsystem/dune-common.rst b/doc/buildsystem/dune-common.rst index 7077b696d3bad2f91ae1ede1c3778b27ba09a84f..bd45b3e8419dfabe74b9ecb94fcc77b2be2710e8 100644 --- a/doc/buildsystem/dune-common.rst +++ b/doc/buildsystem/dune-common.rst @@ -83,7 +83,7 @@ language: - :ref:`add_subdirectory` for recursively adding subdirectories - :ref:`add_executable` to add some exectuable programs -- :ref:`add_test` to register tests to the test suite. +- :ref:`dune_add_test` to register tests to the test suite. - :ref:`install` to mark files for installation. For futher commands, browse this documentation. @@ -299,8 +299,8 @@ It is a mere wrapper around CMake's own testing tool CTest. You can check :code: for a lot of useful options, such as choosing the set of tests to be run by matching regular expressions or showing the output of failed tests. -Although this is not the CMake-ish way, :code:`make test` also builds the tests before executing them. -This behavior will change in the near future. +The Dune test suite also defines tests that run in parallel. You may set an upperbound to the number +of cores in use for a single test by setting :ref:`DUNE_MAX_TEST_CORES`. .. _disable: