[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make test does not perform self-tests?
From: |
Jeffrey Walton |
Subject: |
make test does not perform self-tests? |
Date: |
Wed, 17 Jun 2020 12:33:06 -0400 |
Hi Everyone,
I noticed 'make test' does not perform testing of Ncurses. Instead,
testing is performed during 'make install'.
That's very unusual. According to GNU's coding standards, self-tests
are to be run during 'make check'. Also see
https://www.gnu.org/prep/standards/html_node/Standard-Targets.html.
Typically the workflow is:
* configure
* make
* make check (or make test)
* make install if check is OK
Deferring 'make check' to the install step means we can install a
broken package. And in the case of Termcap and Ncurses, I seem to
recall the install is destructive on existing files. There is no way
to properly remove the package once installed.
Jeff
- make test does not perform self-tests?,
Jeffrey Walton <=