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 `test_mutex` directory. To run the tests, follow the instructions in the `test_mutex/readme` file.

   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. To run the tests as simple C tests, follow the instructions in the `test_micro/readme_embedded` file.

2. If the target platform supports the use of Tcl (version 8.4 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 Programmer's Reference Guide at http://www.oracle.com/technology/documentation/berkeley-db/db/ref/build_unix/test.html and, then, run the Test Suite as described in "Running the Test Suite" in Berkeley DB Programmer's Reference Guide at http://www.oracle.com/technology/documentation/berkeley-db/db/installation/test.html#test_run.

   - 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://www.oracle.com/technology/documentation/berkeley-db/db/ref/build_win/test.html

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