Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix typos and clarify the text in the TH3 document. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
8e68e11794534612afa4a3c21ef24284 |
User & Date: | drh 2014-05-26 13:10:01.103 |
Context
2014-05-26
| ||
13:58 | Fix typos in the new ALTER TABLE documentation and in the queryplanner.html document. (check-in: be73465c0f user: drh tags: trunk) | |
13:10 | Fix typos and clarify the text in the TH3 document. (check-in: 8e68e11794 user: drh tags: trunk) | |
13:00 | Additional remarks on the use of checklists in the testing.html document. (check-in: 8a2b7d834e user: drh tags: trunk) | |
Changes
Changes to pages/th3.in.
1 2 3 4 5 6 7 8 9 10 11 12 | <title>SQLite TH3</title> <tcl>hd_keywords {TH3}</tcl> <h1 align="center">TH3: SQLite Test Harness #3</h1> <h2>1.0 Overview</h2> <p>SQLite Test Harness #3 (hereafter "TH3") is one of [three test harnesses] used for testing SQLite. TH3 is designed to meet the following objectives:</p> <ul> | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | <title>SQLite TH3</title> <tcl>hd_keywords {TH3}</tcl> <h1 align="center">TH3: SQLite Test Harness #3</h1> <h2>1.0 Overview</h2> <p>SQLite Test Harness #3 (hereafter "TH3") is one of [three test harnesses] used for testing SQLite. TH3 is designed to meet the following objectives:</p> <ul> <li><p> TH3 is able to run on embedded platforms that lack the support infrastructure of workstations.</p></li> <li><p> TH3 tests SQLite in an as-deployed configuration using only published and documented interfaces. In other words, TH3 tests the compiled object code, not the source code, thus verifying that no problems were introduced by compiler bugs. "Fly what you test and test what you fly."</p></li> |
︙ | ︙ | |||
31 32 33 34 35 36 37 | (Test coverage of the operating-system specific [VFSes] and extensions such as FTS and RTREE is less than 100%). </p></li> </ul> <p>TH3 was originally written for validation testing only, but has subsequently been used for development testing and debugging as well, and has proven very helpful in those roles. A full-coverage | | | | 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | (Test coverage of the operating-system specific [VFSes] and extensions such as FTS and RTREE is less than 100%). </p></li> </ul> <p>TH3 was originally written for validation testing only, but has subsequently been used for development testing and debugging as well, and has proven very helpful in those roles. A full-coverage test takes less than three minutes on a workstation and hence serves as a fast regression test during day-to-day maintenance of the SQLite code base.</p> <h2>2.0 Operation</h2> <p>TH3 is a test program generator. The output of TH3 is a program written in ANSI-C and intended to be linked against the SQLite library under test. The generated test |
︙ | ︙ | |||
106 107 108 109 110 111 112 | <p>The compilation step shown immediately above is merely representative. In a working installation, one would normally want to specify optimization parameters and compile-time switches on the compiler command line.</p> <p>For testing on embedded systems, the mkth3.tcl script and the compiler | | | | 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | <p>The compilation step shown immediately above is merely representative. In a working installation, one would normally want to specify optimization parameters and compile-time switches on the compiler command line.</p> <p>For testing on embedded systems, the mkth3.tcl script and the compiler steps shown above are performed on an ordinary workstation using a cross-compiler, then the resulting test program is transfer onto the device to be run.</p> <p>Once the test program is generated, it is run with no arguments to perform the tests. Progress information as well as error diagnostics appear on standard output. (Alternative output arrangements can be made using a compile-time option for embedded devices that lack a standard output channel.) The program returns zero if there are no |
︙ | ︙ |