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 useful. 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 run.
This commit is contained in:
parent
3ead0207ae
commit
cf1326052b
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user