Fossil SCM
Add a comment how to run just a subset of tests.
Commit
f5d79188eabe2732025d662cb9a8035ca22d14052afc76f7c1dc389f718d6526
Parent
2660ad0f3501f7f…
1 file changed
+5
+5
| --- test/tester.tcl | ||
| +++ test/tester.tcl | ||
| @@ -19,10 +19,15 @@ | ||
| 19 | 19 | # |
| 20 | 20 | # tclsh ../test/tester.tcl ../bld/fossil |
| 21 | 21 | # |
| 22 | 22 | # Where ../test/tester.tcl is the name of this file and ../bld/fossil |
| 23 | 23 | # is the name of the executable to be tested. |
| 24 | +# | |
| 25 | +# To run a subset of tests (i.e. only one or more of the test/*.test | |
| 26 | +# scripts), append the script base names as arguments: | |
| 27 | +# | |
| 28 | +# tclsh ../test/tester.tcl ../bld/fossil <script-basename>... | |
| 24 | 29 | # |
| 25 | 30 | |
| 26 | 31 | # We use some things introduced in 8.6 such as lmap. auto.def should |
| 27 | 32 | # have found us a suitable Tcl installation. |
| 28 | 33 | package require Tcl 8.6 |
| 29 | 34 |
| --- test/tester.tcl | |
| +++ test/tester.tcl | |
| @@ -19,10 +19,15 @@ | |
| 19 | # |
| 20 | # tclsh ../test/tester.tcl ../bld/fossil |
| 21 | # |
| 22 | # Where ../test/tester.tcl is the name of this file and ../bld/fossil |
| 23 | # is the name of the executable to be tested. |
| 24 | # |
| 25 | |
| 26 | # We use some things introduced in 8.6 such as lmap. auto.def should |
| 27 | # have found us a suitable Tcl installation. |
| 28 | package require Tcl 8.6 |
| 29 |
| --- test/tester.tcl | |
| +++ test/tester.tcl | |
| @@ -19,10 +19,15 @@ | |
| 19 | # |
| 20 | # tclsh ../test/tester.tcl ../bld/fossil |
| 21 | # |
| 22 | # Where ../test/tester.tcl is the name of this file and ../bld/fossil |
| 23 | # is the name of the executable to be tested. |
| 24 | # |
| 25 | # To run a subset of tests (i.e. only one or more of the test/*.test |
| 26 | # scripts), append the script base names as arguments: |
| 27 | # |
| 28 | # tclsh ../test/tester.tcl ../bld/fossil <script-basename>... |
| 29 | # |
| 30 | |
| 31 | # We use some things introduced in 8.6 such as lmap. auto.def should |
| 32 | # have found us a suitable Tcl installation. |
| 33 | package require Tcl 8.6 |
| 34 |