Subject: --enable-tests configure option?

--enable-tests configure option?

From: Jeffrey Walton <noloader_at_gmail.com>
Date: Thu, 30 Jul 2020 21:19:57 -0400

Hi Everyone,

I'm building c-ares 1.16.1 from sources. This caught my eye:

  $ ./configure --help
  `configure' configures c-ares 1.16.1 ...
  ...
  --enable-tests build test suite

I believe the self tests should be available by default. Users should
not have to do anything special to get them. Maybe a better option
would be --disable-tests.

According to the GNU Coding Standard
(https://www.gnu.org/prep/standards/html_node/Standard-Targets.html),
'make check' should build and execute the self tests. This is how most
packages work. This should work out of the box without the need for
additional options:

  ./configure ...
  make
  make check
  sudo make install

I realize you may not follow the GNU Coding Standard. But 'make check'
should always work.

Jeff
Received on 2020-07-31