From: Francis Dupont Date: Sat, 18 Apr 2015 08:39:05 +0000 (+0200) Subject: distcheck now works with ATF too X-Git-Tag: v4_3_4~23^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9f1a9ec42605bc9dda73a7591f29500544b6373;p=thirdparty%2Fdhcp.git distcheck now works with ATF too --- diff --git a/client/tests/Makefile.am b/client/tests/Makefile.am index a67f3a237..2b7f171a4 100644 --- a/client/tests/Makefile.am +++ b/client/tests/Makefile.am @@ -41,6 +41,12 @@ check: $(ATF_TESTS) -cp -n $(top_srcdir)/client/tests/duid3_test.txt duid3_test.txt sh ${top_builddir}/tests/unittest.sh +distclean-local: + @if test $(top_srcdir) != ${top_builddir}; then \ + rm -f Atffile duid0_test.txt duid1_test.txt; \ + rm -f duid2_test.txt duid3_test.txt; \ + fi + endif check_PROGRAMS = $(ATF_TESTS) diff --git a/common/tests/Makefile.am b/common/tests/Makefile.am index f6ffe9b13..f8d6b0e21 100644 --- a/common/tests/Makefile.am +++ b/common/tests/Makefile.am @@ -40,6 +40,11 @@ check: $(ATF_TESTS) -cp -n $(top_srcdir)/common/tests/Atffile Atffile sh ${top_builddir}/tests/unittest.sh +distclean-local: + @if test $(top_srcdir) != ${top_builddir}; then \ + rm -f Atffile; \ + fi + endif check_PROGRAMS = $(ATF_TESTS) diff --git a/server/tests/Makefile.am b/server/tests/Makefile.am index b12bd97f5..f9b4a245c 100644 --- a/server/tests/Makefile.am +++ b/server/tests/Makefile.am @@ -51,6 +51,11 @@ check: $(ATF_TESTS) -cp -n $(top_srcdir)/server/tests/Atffile Atffile sh ${top_builddir}/tests/unittest.sh +distclean-local: + @if test $(top_srcdir) != ${top_builddir}; then \ + rm -f Atffile; \ + fi + endif check_PROGRAMS = $(ATF_TESTS)