\(\newcommand{\W}[1]{ \; #1 \; }\) \(\newcommand{\R}[1]{ {\rm #1} }\) \(\newcommand{\B}[1]{ {\bf #1} }\) \(\newcommand{\D}[2]{ \frac{\partial #1}{\partial #2} }\) \(\newcommand{\DD}[3]{ \frac{\partial^2 #1}{\partial #2 \partial #3} }\) \(\newcommand{\Dpow}[2]{ \frac{\partial^{#1}}{\partial {#2}^{#1}} }\) \(\newcommand{\dpow}[2]{ \frac{ {\rm d}^{#1}}{{\rm d}\, {#2}^{#1}} }\)
cmake_check¶
View page sourceChecking the CppAD Examples and Tests¶
Purpose¶
After you configure your system with the CMake Command you can run the CppAD example and tests to make sure that CppAD functions properly on your system.
Check All¶
In the build
subdirectory of the
Distribution Directory
execute the command
make check
This will build and run all of the tests that are support by your system and the cmake command options.
Subsets of make check¶
In unix, you can determine which subsets of make check
are available
by putting the output of the CMake Command
in a file (called cmake.out below) and executing:
grep
‘make check.
*available
‘ cmake.out
First Level¶
The first level of subsets of make check
are described below:
Command |
Description |
|
the Introduction functions |
|
the normal example functions plus some deprecated examples. |
|
correctness tests that are not examples |
|
correctness for single thread speed tests |
|
the deprecated cppad_ipopt_nlp speed and correctness tests |
Note that make check_example_multi_thread
is used for the
multi-threading speed tests.