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: