]> granicus.if.org Git - procps-ng/commitdiff
build-sys: check depends on programs
authorCraig Small <csmall@dropbear.xyz>
Mon, 21 Mar 2022 10:37:17 +0000 (21:37 +1100)
committerCraig Small <csmall@dropbear.xyz>
Mon, 21 Mar 2022 10:37:17 +0000 (21:37 +1100)
For some unknown reason, make check doesn't depend on either
the check programs or the actual programs under test. This means
if you try to run make check right off the bat from a clean git
repositorty, it will fail as it won't be able to run the unbuilt
binaries.

Makefile.am

index a0affc05623620a584a49ab647e4a9894a67082c..eedc7dc5a4859320e92368a33262495f305f2b7b 100644 (file)
@@ -393,7 +393,7 @@ TESTS = \
        lib/test_strtod_nol
 
 # Automake should do this, but it doesn't
-check: $(check_PROGRAMS)
+check: $(check_PROGRAMS) $(PROGRAMS)
 
 $(top_srcdir)/.version:
        touch $(top_srcdir)/.version