From 780b92ada9afcf1d58085a83a0b9e6bc982203d1 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 17 Feb 2015 17:25:57 +0000 Subject: Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz. --- docs/installation/build_unix_test.html | 111 ++++++++++++++++++++------------- 1 file changed, 67 insertions(+), 44 deletions(-) (limited to 'docs/installation/build_unix_test.html') diff --git a/docs/installation/build_unix_test.html b/docs/installation/build_unix_test.html index 20271b22..4aa5fe83 100644 --- a/docs/installation/build_unix_test.html +++ b/docs/installation/build_unix_test.html @@ -14,17 +14,17 @@ -

The Berkeley DB test suite is built if you specify ---enable-test -as an argument when configuring Berkeley DB. The test suite also -requires that you configure and build the Tcl interface to the -library.

-

Before running the tests for the first time, you may need to edit the -include.tcl file in your build directory. The -Berkeley DB configuration assumes that you intend to use the -version of the tclsh utility included in the Tcl installation with which -Berkeley DB was configured to run the test suite, and further -assumes that the test suite will be run with the libraries prebuilt in -the Berkeley DB build directory. If either of these assumptions -are incorrect, you will need to edit the include.tcl file and -change the following line to correctly specify the full path to the -version of tclsh with which you are going to run the test suite:

+

+ The Berkeley DB test suite is built if you specify --enable-test as an argument + when configuring Berkeley DB. The test suite also requires that you configure + and build the Tcl interface to the library. +

+

+ Before running the tests for the first time, you may need + to edit the include.tcl file in your + build directory. The Berkeley DB configuration assumes that + you intend to use the version of the tclsh utility included in + the Tcl installation with which Berkeley DB was configured to + run the test suite, and further assumes that the test suite + will be run with the libraries prebuilt in the Berkeley DB + build directory. If either of these assumptions are incorrect, + you will need to edit the include.tcl + file and change the following line to correctly specify the + full path to the version of tclsh with which you are going to + run the test suite: +

set tclsh_path ...
-

You may also need to change the following line to correctly specify the -path from the directory where you are running the test suite to the -location of the Berkeley DB Tcl library you built:

+

+ You may also need to change the following line to correctly + specify the path from the directory where you are running the + test suite to the location of the Berkeley DB Tcl library you + built: +

set test_path ...
-

It may not be necessary that this be a full path if you have configured -your system's shared library mechanisms to search the directory where -you built or installed the Tcl library.

-

All Berkeley DB tests are run from within tclsh. After -starting tclsh, you must source the file test.tcl in the test -directory. For example, if you built in the build_unix -directory of the distribution, this would be done using the following -command:

+

+ It may not be necessary that this be a full path if you + have configured your system's shared library mechanisms to + search the directory where you built or installed the Tcl + library. +

+

+ All Berkeley DB tests are run from within tclsh. After starting tclsh, you + must source the file test.tcl in the test + directory. For example, if you built in the + build_unix directory of the + distribution, this would be done using the following command: +

% source ../test/tcl/test.tcl
-

If no errors occur, you should get a "%" prompt.

-

You are now ready to run tests in the test suite; see - Running the test suite for more information.

+

+ If no errors occur, you should get a "%" prompt. +

+

+ You are now ready to run tests in the test suite; see + Running the test suite for more information. +

@@ -88,19 +105,25 @@ command:

- The Berkeley DB SQL interface test suite is built if you specify ---enable-test and --enable-sql -as arguments, when configuring Berkeley DB. The test suite also -requires that you build the Berkeley DB Tcl API. -

+ The Berkeley DB SQL interface test suite is built if + you specify + --enable-test and --enable-sql + as arguments, when configuring Berkeley DB. The + test suite also requires that you build the Berkeley DB + Tcl API. +

 ../dist/configure --enable-sql --enable-test --with-tcl=/usr/lib
 

-This builds the testfixture project in ../build_unix/sql. -

-

To enable extensions like full text search layer and R-Tree layer in the SQL test suite, configure with --enable-amalgamation. -

+ This builds the testfixture + project in ../build_unix/sql. +

+

+ To enable extensions like full text search layer and + R-Tree layer in the SQL test suite, configure with + --enable-amalgamation. +