Table of Contents
There are several different types of tests available for validating your port of Berkeley DB as discussed in Types of Tests for Berkeley DB. Testing your port involves:
There are two types of tests available for testing your port of Berkeley DB:
The C Tests for Berkeley DB
There are two types of C tests for Berkeley DB. Each of these is in its own directory:
The test_mutex
test is found in src/mutex
.
The test_micro
tests are found in test/micro
.
Here you will find C tests that exercise the most common code paths. However, please note that
test_micro
is not intended to be an exhaustive test suite. Additionally, it tests the
different versions of Berkeley DB (including the new port) against each
other. The test_micro
tests can either be run in a shell or as simple C tests.
The Berkeley DB Test Suite
The test
directory contains the Berkeley DB Test Suite that tests all of the code in Berkeley DB. Using the Test Suite involves using Tool Command Language (Tcl) version 8.5 or later. Running the standard version of the Test Suite executes tests the major functionality of Berkeley DB. A more exhaustive version of the Test Suite runs all the tests several more times, testing encryption, replication, and different page sizes.
Contact the Oracle Berkeley DB engineering team for a platform compatibility test suite.