diff --git a/common/tests/Makefile.am b/common/tests/Makefile.am index a389c413..85808271 100644 --- a/common/tests/Makefile.am +++ b/common/tests/Makefile.am @@ -14,9 +14,9 @@ alloc_unittest_LDADD += ../libdhcp.a \ ../../omapip/libomapi.a ../../bind/lib/libdns.a \ ../../bind/lib/libisc.a -endif - check: $(ATF_TESTS) atf-run | atf-report +endif + check_PROGRAMS = $(ATF_TESTS) diff --git a/common/tests/Makefile.in b/common/tests/Makefile.in index afba2024..78cadfc7 100644 --- a/common/tests/Makefile.in +++ b/common/tests/Makefile.in @@ -528,8 +528,8 @@ uninstall-am: tags tags-recursive uninstall uninstall-am -check: $(ATF_TESTS) - atf-run | atf-report +@HAVE_ATF_TRUE@check: $(ATF_TESTS) +@HAVE_ATF_TRUE@ atf-run | atf-report # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: