From f9f1a9ec42605bc9dda73a7591f29500544b6373 Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Sat, 18 Apr 2015 10:39:05 +0200 Subject: [PATCH] distcheck now works with ATF too --- client/tests/Makefile.am | 6 ++++++ common/tests/Makefile.am | 5 +++++ server/tests/Makefile.am | 5 +++++ 3 files changed, 16 insertions(+) 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) -- 2.47.3