The Berkeley DB test suite is built if you specify --enable-test as an argument during the UNIX configure process and the Tcl libraries are found on your system. The Berkeley DB test suite needs the Tcl (but not the Tk) library to run. See Building for UNIX platforms for more information.
You can download Tcl from the
Scriptics Corporation web site.