File: test.html

package info (click to toggle)
evolution-data-server 1.0.4-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 39,504 kB
  • ctags: 26,423
  • sloc: ansic: 175,347; tcl: 30,499; sh: 20,699; perl: 11,320; xml: 9,039; java: 7,653; cpp: 6,029; makefile: 4,866; awk: 1,338; yacc: 1,103; sed: 772; cs: 505; lex: 134; asm: 14
file content (53 lines) | stat: -rw-r--r-- 3,427 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!--$Id: test.html,v 1.1.1.1 2003/11/20 22:14:11 toshok Exp $-->
<!--Copyright 1997-2002 by Sleepycat Software, Inc.-->
<!--All rights reserved.-->
<!--See the file LICENSE for redistribution information.-->
<html>
<head>
<title>Berkeley DB Reference Guide: Running the test suite under UNIX</title>
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++">
</head>
<body bgcolor=white>
<a name="2"><!--meow--></a>
<table width="100%"><tr valign=top>
<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Building Berkeley DB for UNIX systems</dl></h3></td>
<td align=right><a href="../../ref/build_unix/shlib.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../reftoc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/notes.html"><img src="../../images/next.gif" alt="Next"></a>
</td></tr></table>
<p>
<h1 align=center>Running the test suite under UNIX</h1>
<p>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 API.
<p>Before running the tests for the first time, you may need to edit the
<b>include.tcl</b> 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
<b>include.tcl</b> 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:
<p><blockquote><pre>set tclsh_path ...</pre></blockquote>
<p>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 API library you built:
<p><blockquote><pre>set test_path ...</pre></blockquote>
<p>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.
<p>All Berkeley DB tests are run from within <b>tclsh</b>.  After starting tclsh,
you must source the file <b>test.tcl</b> in the test directory.  For
example, if you built in the <b>build_unix</b> directory of the
distribution, this would be done using the following command:
<p><blockquote><pre>% source ../test/test.tcl</pre></blockquote>
<p>If no errors occur, you should get a "%" prompt.
<p>You are now ready to run tests in the test suite; see
<a href="../../ref/test/run.html">Running the test suite</a> for more
information.
<table width="100%"><tr><td><br></td><td align=right><a href="../../ref/build_unix/shlib.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../reftoc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/build_unix/notes.html"><img src="../../images/next.gif" alt="Next"></a>
</td></tr></table>
<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font>
</body>
</html>