Library Version 18.1.40

Running the Tests
Prev | Chapter 3. Testing and Certifying the Port | Next

## Running the Tests

You test your new port of Berkeley DB by running the tests in the following order:

1. Run the C tests in the following order:

   1. Tests for mutexes located in the `src/mutex` directory. Build and run the tests in your build directory:

          % make test_mutex
          % ./test_mutex

   2. Tests for the common code paths located in the `test/micro` directory. To run the tests in a shell script, follow the instructions in the `test/micro/README` file.

2. If the target platform supports the use of Tcl (version 8.5 or later), run the Test Suite. How you run the Test Suite varies depending on the target platform:

   - If the target platform supports a UNIX-like version of Tcl, then set up Tcl and build the Test Suite as described in "Running the Test Suite under UNIX" in Berkeley DB Installation and Build Guide at http://docs.oracle.com/cd/E17076_05/html/installation/build_unix_test.html and, then, run the test suite.

   - If the target platform supports a Windows-like version of Tcl, then setup Tcl, and build and run the Test Suite as described in "Running the Test Suite under Windows" in Berkeley DB Programmer's Reference Guide at http://docs.oracle.com/cd/E17076_05/html/installation/build_win_test.html

Prev | Up | Next
Modifying the Tests | Home | Reviewing the Results of the Tests