You test your new port of Berkeley DB by running the tests in the following order:
Run the C tests in the following order:
Tests for the system primitives located in the
test_os
directory. To run the tests, follow the
instructions in the test_os/readme
file.
Tests for mutexes located in the test_mutex
directory. To run the tests, follow the instructions in the
test_mutex/readme
file.
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.
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/ref/test/run.html.
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