diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2016-12-17 21:28:53 -0800 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net> | 2016-12-17 21:28:53 -0800 |
commit | 54df2afaa61c6a03cbb4a33c9b90fa572b6d07b8 (patch) | |
tree | 18147b92b969d25ffbe61935fb63035cac820dd0 /db-4.8.30/test/scr024/README |
Berkeley DB 4.8 with rust build script for linux.
Diffstat (limited to 'db-4.8.30/test/scr024/README')
-rw-r--r-- | db-4.8.30/test/scr024/README | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/db-4.8.30/test/scr024/README b/db-4.8.30/test/scr024/README new file mode 100644 index 0000000..1053cf6 --- /dev/null +++ b/db-4.8.30/test/scr024/README @@ -0,0 +1,51 @@ +This directory contains unit tests for the Java APIs that are common the BDB +and BDB JE products: the bind, collections, persist (DPL) and util packages. + +These tests are run using Apache Ant and JUnit. + +External software requirements: + + Java 1.5 or later. + The Sun JDK is normally used, but any compatible JVM should work. + + Apache Ant 7.0 or later. + http://ant.apache.org/bindownload.cgi + + JUnit 3.8.1 or 3.8.2 (later versions do not currently work) + http://prdownloads.sourceforge.net/junit/junit3.8.1.zip?download + +The bin directories of both Java and Ant must be in your executable path. The +junit.jar file must be available to Ant. The simplest way to do this is to copy +the junit.jar file into your Ant's lib directory. + +There are two configuration settings for specifying the DB release to be +tested: + + The release binaries must be in your system library path (LD_LIBRARY_PATH + on Unix). + + The Java property db.jar is specified to override the default location, + which is the build_unix/db.jar file in this release directory. + +The following ant commands should be executed from this directory: + + # To perform a clean build of the tests + ant clean build + + # To build (if needed) and run the tests + ant test + + # To test the examples + ant examples + +For example, here are commands to build and test in a local db directory. + + cd ~/db/test/scr024 + ant clean build + ant test + +Several output directories are creating when building and testing. These can +be deleted with: + + ant clean + |