Prev Next cmake_check

@(@\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}} }@)@
Checking the CppAD Examples and Tests

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.

If you created nmake makefiles, you will have to use nmake instead of make in the commands above and below; see windows file extraction and testing .

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' 

First Level
The first level of subsets of make check are described below:
Command Description
make check_introduction the Introduction functions
make check_example the normal example functions plus some deprecated examples.
make check_test_more correctness tests that are not examples
make check_speed correctness for single thread speed tests
make check_cppad_ipopt the deprecated cppad_ipopt_nlp speed and correctness tests
Note that make check_example_multi_thread is used for the multi-threading speed tests.
Input File: omh/install/cmake_check.omh