[PATCH 1/2] libctf, testsuite: don't run without a suitable compiler

Nick Alcock nick.alcock@oracle.com
Wed Feb 3 14:50:02 GMT 2021


On 3 Feb 2021, Jan Beulich spake thusly:
> On 03.02.2021 14:19, Nick Alcock wrote:
>> Ah yeah, that's a quite different bug :) will fix soon. I guess I'll
>> have to conditionalize out the entirety of check-DEJAGNU in
>> libctf/Makefile.am if Tcl is too old. I could rewrite things to not use
>> 'try' but honestly if you have a Tcl that old I guess a few tests
>> getting skipped is not too much of a problem.
>
> What I've done locally for now is:
[...]
> +if {![llength [info commands try]]} {

Ooh that's quite nice. I'll rip out the configure-time check for Tcl
8.6+ I've got in place in favour of this approach (again at configure
time).

-- 
NULL && (void)


More information about the Binutils mailing list