Check-in [d1be9d5c9f]

Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Added another example usage, simpler than the minor contortion required for Tcl itself.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: d1be9d5c9f3f8bc69e371e03e1c47a834217f02c88e01520e16f225ff3e6ee9b
User & Date: dkf 2018-10-24 18:13:22.446
Context
2018-10-24
19:36
Note the branch for TIP 520 check-in: f441fd78d3 user: dkf tags: trunk
18:13
Added another example usage, simpler than the minor contortion required for Tcl itself. check-in: d1be9d5c9f user: dkf tags: trunk
18:09
Editorial fixes check-in: 4d98220463 user: dkf tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to tip/525.md.
53
54
55
56
57
58
59






60
61
62
63
64
65
66
	    exit 1
	}

so that existing code and tests are not affected by the change. (A system has
to set the `ERROR_ON_FAILURES` environment variable in order to get this
additional behaviour at the outer level, so only an environment that is
prepared to deal with the consequences will notice.)







# Implementation

See the branches `travis-8.5`, `travis-8.6`, `travis-8.7` and `travis-9.0`;
this TIP is specifically altering the procedure `runAllTests` to include
exactly one more line at the end:








>
>
>
>
>
>







53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
	    exit 1
	}

so that existing code and tests are not affected by the change. (A system has
to set the `ERROR_ON_FAILURES` environment variable in order to get this
additional behaviour at the outer level, so only an environment that is
prepared to deal with the consequences will notice.)

It is expected that new code with little need for very strict backward
compatibility will instead just do:

    # require packages and configure...
    exit [tcltest::runAllTests]

# Implementation

See the branches `travis-8.5`, `travis-8.6`, `travis-8.7` and `travis-9.0`;
this TIP is specifically altering the procedure `runAllTests` to include
exactly one more line at the end: