* WT-2554 Add initial C test framework. With a few sample applications. Need to do further work to cleanup the same applications and share as much code/style as possible. * WT-2554 Fixup build errors. * Fix compiler warning. * Cleanup * Ensure each test runs in a different directory. * Update C test suite names and add copyright. * Move test code into subdirectories. * Replace test_util.i with a real utility library now that we have one. Nothing needs to be an inline function. Mostly cherry picked from 7c18420. * Use WiredTiger getopt in C test suite for platform portability. * Add a header comment to each test case. * Add a C test suite entry auto generator * Style, KNF * Implement review feedback. * Build test/utility library on Windows * Add comment to script. Fix a printf.
The test/format program randomly generates WiredTiger databases with different configurations and different size objects and then does operations on those files. The goal is to test the WiredTiger file formats. test/format should be linked with a version of Berkeley DB (which it uses to verify format's results). Use the configuration option --with-berkeleydb=DIR to specify the top-level of an installed Berkeley DB distribution directory, for example: --with-berkeleydb=/usr/local/BerkeleyDB.5.3