From 5bc0f51cebd001b6ba92cdd3e98e97111d96cccb Mon Sep 17 00:00:00 2001 From: Jacob Bachmeyer Date: Wed, 24 Jun 2020 21:14:28 -0500 Subject: Add option to stop immediately at Tcl errors and continue by default --- NEWS | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index abae60b..dcb731f 100644 --- a/NEWS +++ b/NEWS @@ -7,10 +7,16 @@ Changes since 1.6.2: should use this proc. The 'is_remote' proc is deprecated. 2. runtest now accepts --local_init and --global_init options to override the default of reading "site.exp". See the manual for details. -X. runtest now aborts if a test script fails with any Tcl error. Previously, - only calling an undefined procedure would cause the test run to abort. +X. runtest now responds consistently to all Tcl errors and generates an + UNRESOLVED result when a test script aborts. Previously, calling an + undefined procedure would cause the test run to abort while other Tcl + errors produced only an easily-ignored message. X. runtest now accepts a --keep_going option to continue with other test - scripts after a test script fails with a Tcl error. + scripts after a test script fails with a Tcl error. If you have + automated systems that run tests and need to carry on after Tcl errors, + now is the time to add this option to your configuration. +X. runtest now accepts a --no_keep_going option to stop immediately when a + test script aborts. This is planned to become the default in 1.7. 3. A utility procedure relative_filename has been added. This procedure computes a relative file name to a given destination from a given base. 4. The utility procedure 'grep' now accepts a '-n' option that -- cgit v1.1