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.
Showing with 3 additions and 0 deletions