Commit cf132605 authored by Craig Small's avatar Craig Small

build-sys: Make check programs before check

For some unknown reason, check_PROGRAMS are not built before check.
They are built before recheck and after check, which isn't very

This means any tests by dejagnu that need those programs will fail.
On my console I get a build error, the CI merrily reports the error
but considers the build OK; go figure.

The kludge adds check_PROGRAMS to be a dependency to check.
Note, TESTS don't need to be included in this, because they are
properly compliled after the dejagnu tests but before they are
parent 3ead0207
......@@ -228,6 +228,9 @@ ps_pscommand_SOURCES = \
TESTS = lib/test_strtod_nol
# Note sure why this is needed but it breaks without it
check: $(check_PROGRAMS)
# lib/test_* binaries
check_PROGRAMS = \
lib/test_strutils \
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment