This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] make check vs --without-zlib


On Mon, 26 Nov 2012, Roland McGrath wrote:

> +  AC_CONFIG_COMMANDS([site-zlib.exp], [
> +echo "proc is_zlib_supported {} { return $bu_zlib_int }" > site-zlib.exp

Generating special site.exp contents like this is bad for installed 
testing as it needs to replicate anything a particular tool's testsuite 
wants in site.exp; the more special things are used by particular 
testsuites, the more there is for installed testing to replicate.  
Something that actually tests by running a binutils binary whether it has 
zlib support or not would seem better.  (For example, --help or --version 
output could include a line indicating whether zlib support is present.)

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]