libctf: require a Tcl capable of try/catch to run tests
authorNick Alcock <nick.alcock@oracle.com>
Wed, 3 Feb 2021 14:02:30 +0000 (14:02 +0000)
committerNick Alcock <nick.alcock@oracle.com>
Wed, 10 Feb 2021 15:26:57 +0000 (15:26 +0000)
commitcbd8f5bbcc81ffe6c84bd6439c9a22976867e4ad
tree69084a263c2db6ce7cfe73dc4610c0143fcb7b48
parent95148614026da7353721411dd020d024667e3482
libctf: require a Tcl capable of try/catch to run tests

The run_native_host_cmd implementation in testsuite/lib/ctf-lib.exp
uses try/catch, which are new in Tcl 8.6.  Require a Tcl that knows
that try exists, as suggested by Jan Beulich.

libctf/ChangeLog
2021-02-03  Nick Alcock  <nick.alcock@oracle.com>

* configure.ac (EXPECT): Check for, in order to define...
(TCL_TRY): ... this, if Tcl supports try/catch.
* Makefile.am (TCL_TRY): Run the testsuite only if set.
* configure: Regenerated.
* Makefile.in: Likewise.
libctf/ChangeLog
libctf/Makefile.am
libctf/Makefile.in
libctf/configure
libctf/configure.ac