Debian Codegraph @

docs/porting/testrun.html

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <title>Running the Tests</title>
7 <link rel="stylesheet" href="gettingStarted.css" type="text/css" />
8 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
9 <link rel="start" href="index.html" title="Porting Berkeley DB" />
10 <link rel="up" href="testport.html" title="Chapter 3. Testing and Certifying the Port" />
11 <link rel="prev" href="modifytest.html" title="Modifying the Tests" />
12 <link rel="next" href="testreview.html" title="Reviewing the Results of the Tests" />
13 </head>
14 <body>
15 <div xmlns="" class="navheader">
16 <div class="libver">
17 <p>Library Version 11.2.5.3</p>
18 </div>
19 <table width="100%" summary="Navigation header">
20 <tr>
21 <th colspan="3" align="center">Running the Tests</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="modifytest.html">Prev</a> </td>
25 <th width="60%" align="center">Chapter 3. Testing and Certifying the Port</th>
26 <td width="20%" align="right"> <a accesskey="n" href="testreview.html">Next</a></td>
27 </tr>
28 </table>
29 <hr />
30 </div>
31 <div class="sect1" lang="en" xml:lang="en">
32 <div class="titlepage">
33 <div>
34 <div>
35 <h2 class="title" style="clear: both"><a id="testrun"></a>Running the Tests</h2>
36 </div>
37 </div>
38 </div>
39 <p>
40 You test your new port of Berkeley DB by running the tests in the following order:
41 </p>
42 <div class="orderedlist">
43 <ol type="1">
44 <li>
45 <p>
46 Run the C tests in the following order:
47 </p>
48 <div class="orderedlist">
49 <ol type="a">
50 <li>
51 <p>
52
53 Tests for mutexes located in the <code class="literal">test_mutex</code>
54 directory. To run the tests, follow the instructions in the
55 <code class="literal">test_mutex/readme</code> file.
56 </p>
57 </li>
58 <li>
59 <p>
60 Tests for the common code paths located in the
61 <code class="literal">test_micro</code> directory. To run the tests in a shell
62 script, follow the instructions in the
63 <code class="literal">test_micro/readme</code> file. To run the tests as
64 simple C tests, follow the instructions in the
65 <code class="literal">test_micro/readme_embedded</code> file.
66 </p>
67 </li>
68 </ol>
69 </div>
70 </li>
71 <li>
72 <p>
73 If the target platform supports the use of Tcl (version 8.5 or later), run the Test Suite.
74 How you run the Test Suite varies depending on the target platform:
75 </p>
76 <div class="itemizedlist">
77 <ul type="disc">
78 <li>
79 <p>
80 If the target platform supports a UNIX-like version of Tcl, then set up Tcl
81 and build the Test Suite as described in "Running the Test Suite under
82 UNIX" in <em class="citetitle">Berkeley DB Installation and Build Guide</em> at
83 <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/installation/build_unix_test.html" target="_top">http://download.oracle.com/docs/cd/E17076_02/html/installation/build_unix_test.html</a>
84 and, then, run the test suite.
85 </p>
86 </li>
87 <li>
88 <p>
89
90 If the target platform supports a Windows-like version of Tcl, then
91 setup Tcl, and build and run the Test Suite as described in
92 "Running the Test Suite under Windows" in
93 <em class="citetitle">Berkeley DB Programmer's Reference Guide</em> at
94 <a class="ulink" href="http://download.oracle.com/docs/cd/E17076_02/html/installation/build_win_test.html" target="_top">http://download.oracle.com/docs/cd/E17076_02/html/installation/build_win_test.html</a>
95
96 </p>
97 </li>
98 </ul>
99 </div>
100 </li>
101 </ol>
102 </div>
103 </div>
104 <div class="navfooter">
105 <hr />
106 <table width="100%" summary="Navigation footer">
107 <tr>
108 <td width="40%" align="left"><a accesskey="p" href="modifytest.html">Prev</a> </td>
109 <td width="20%" align="center">
110 <a accesskey="u" href="testport.html">Up</a>
111 </td>
112 <td width="40%" align="right"> <a accesskey="n" href="testreview.html">Next</a></td>
113 </tr>
114 <tr>
115 <td width="40%" align="left" valign="top">Modifying the Tests </td>
116 <td width="20%" align="center">
117 <a accesskey="h" href="index.html">Home</a>
118 </td>
119 <td width="40%" align="right" valign="top"> Reviewing the Results of the Tests</td>
120 </tr>
121 </table>
122 </div>
123 </body>
124 </html>