]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
distcheck now works with ATF too
authorFrancis Dupont <fdupont@isc.org>
Sat, 18 Apr 2015 08:39:05 +0000 (10:39 +0200)
committerFrancis Dupont <fdupont@isc.org>
Sat, 18 Apr 2015 08:39:05 +0000 (10:39 +0200)
client/tests/Makefile.am
common/tests/Makefile.am
server/tests/Makefile.am

index a67f3a2377eeadb8f4d2a6770ff93cf3d67df377..2b7f171a40e662303edb21bba4ff9c2be4ebca86 100644 (file)
@@ -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)
index f6ffe9b13a1a0cfab12d30da38aaca356b5e842f..f8d6b0e21e0f83013799da775a516d434b48053e 100644 (file)
@@ -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)
index b12bd97f5cd342bc2994ad7b2bc4546272af6f3a..f9b4a245ccb2b85b8787cff6691c8405296f2849 100644 (file)
@@ -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)