Running the Tests
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 mutexes located in the
test_mutexdirectory. To run the tests, follow the instructions in thetest_mutex/readmefile.Tests for the common code paths located in the
test_microdirectory. To run the tests in a shell script, follow the instructions in thetest_micro/readmefile. To run the tests as simple C tests, follow the instructions in thetest_micro/readme_embeddedfile.
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://download.oracle.com/docs/cd/E17076_02/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://download.oracle.com/docs/cd/E17076_02/html/installation/build_win_test.html