I often get --disable-test and --disable-tests mixed up. This PR makes both do the same thing and in addition allows --without-test[s] as well (i.e. it adds 3 aliases to the use_tests variable in configure.ac).
The help output:
./configure --help
[...]
--enable-upnp-default if UPNP is enabled, turn it on at startup (default
is no)
--disable-test,
--disable-tests do not compile tests (default is to compile)
--disable-gui-tests do not compile GUI tests (default is to compile if
GUI and tests enabled)
[...]
--with-miniupnpc enable UPNP (default is yes if libminiupnpc is
found)
--without-test,
--without-tests alias for --disable-tests
--with-rapidcheck enable RapidCheck property based tests (default is
yes if librapidcheck is found)
[...]
These commands:
./configure
./configure --enable-test
./configure --enable-tests
./configure --with-test
./configure --with-tests
all result in
with test = yes
while these:
./configure --disable-test
./configure --disable-tests
./configure --without-test
./configure --without-tests
give
with test = no
Combining these (e.g. --enable-tests --without-test) does not break anything, but some of them take precedence over the others, so the outcome depends on which one you are specifying. There's no reason to ever mix them, so this should not be an issue.