cmake_check

View page source

Checking 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:

grepmake check. * availablecmake.out

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.