Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Modify 'th1-docs' test file to enable it to run when the test suite is running outside of the Fossil source checkout. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
8f199fd8f59a5ec50d6128527aaf14d1 |
User & Date: | mistachkin 2016-01-11 00:39:43 |
Context
2016-01-11
| ||
00:40 | Modify 'th1-hooks' test to decouple it from needing to run within a Fossil source checkout. ... (check-in: 9bfdc5c6 user: mistachkin tags: trunk) | |
00:39 | Modify 'th1-docs' test file to enable it to run when the test suite is running outside of the Fossil source checkout. ... (check-in: 8f199fd8 user: mistachkin tags: trunk) | |
00:29 | Correct missing parenthesis typo in timeline query generation logic. ... (check-in: 03fb7bf9 user: mistachkin tags: trunk) | |
Changes
Changes to test/th1-docs.test.
︙ | ︙ | |||
33 34 35 36 37 38 39 | ############################################################################### set env(TH1_ENABLE_DOCS) 1; # TH1 docs must be enabled for this test. set env(TH1_ENABLE_TCL) 1; # Tcl integration must be enabled for this test. ############################################################################### | > | > > > | | > | 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | ############################################################################### set env(TH1_ENABLE_DOCS) 1; # TH1 docs must be enabled for this test. set env(TH1_ENABLE_TCL) 1; # Tcl integration must be enabled for this test. ############################################################################### run_in_checkout { set data [fossil info] } regexp -line -- {^repository: (.*)$} $data dummy repository if {[string length $repository] == 0 || ![file exists $repository]} then { error "unable to locate repository" } set dataFileName [file join $::testdir th1-docs-input.txt] ############################################################################### run_in_checkout { set RESULT [test_fossil_http \ $repository $dataFileName /doc/trunk/test/fileStat.th1] } test th1-docs-1a {[regexp {<title>Fossil: test/fileStat.th1</title>} $RESULT]} test th1-docs-1b {[regexp {>\[[0-9a-f]{40}\]<} $RESULT]} test th1-docs-1c {[regexp { contains \d+ files\.} $RESULT]} |