autotools: add check-progs target

If you configure with "--enable-tests=no", then the tests
are not build during `make all`, but only during `make check`.
That is convenient for development, so if you don't work on tests,
they usually don't get build and the (partial) compilation is faster.

However, there is no target to build the tests without running them.

Add `make check-progs` for that.
This commit is contained in:
Thomas Haller
2021-02-04 09:59:10 +01:00
parent ac1a9e03e4
commit cbb59e3308

View File

@@ -5522,6 +5522,10 @@ cscope:
###############################################################################
check-progs: all $(check_PROGRAMS) $(check_LTLIBRARIES)
###############################################################################
.PRECIOUS: test-suite.log
.DELETE_ON_ERROR:
.PHONY: cscope dist-configure-check $(check_local) $(dist_hook)
.PHONY: check-progs cscope dist-configure-check $(check_local) $(dist_hook)