diff options
author | Thomas Markwalder <tmark@isc.org> | 2016-06-09 07:52:12 -0400 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2016-06-09 07:52:12 -0400 |
commit | 4f553fea3b3cb27a1c5fb8ea9be77f270d0b0de8 (patch) | |
tree | 448098babdd8dc07ce71b94751accacd1e76588f /client/tests/Makefile.am | |
parent | e105afa15e09176799a37617968dabde50988273 (diff) | |
download | isc-dhcp-4f553fea3b3cb27a1c5fb8ea9be77f270d0b0de8.tar.gz |
[master] Eliminated noisy cp error message during "make check"
Merges in rt41883.
Diffstat (limited to 'client/tests/Makefile.am')
-rw-r--r-- | client/tests/Makefile.am | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/client/tests/Makefile.am b/client/tests/Makefile.am index da69ea92..5031d0c5 100644 --- a/client/tests/Makefile.am +++ b/client/tests/Makefile.am @@ -34,11 +34,13 @@ duid_unittests_LDADD = $(ATF_LDFLAGS) duid_unittests_LDADD += $(DHCPLIBS) check: $(ATF_TESTS) - -cp -n $(top_srcdir)/client/tests/Atffile Atffile - -cp -n $(top_srcdir)/client/tests/duid0_test.txt duid0_test.txt - -cp -n $(top_srcdir)/client/tests/duid1_test.txt duid1_test.txt - -cp -n $(top_srcdir)/client/tests/duid2_test.txt duid2_test.txt - -cp -n $(top_srcdir)/client/tests/duid3_test.txt duid3_test.txt + @if test $(top_srcdir) != ${top_builddir}; then \ + cp $(top_srcdir)/client/tests/Atffile Atffile; \ + cp $(top_srcdir)/client/tests/duid0_test.txt duid0_test.txt; \ + cp $(top_srcdir)/client/tests/duid1_test.txt duid1_test.txt; \ + cp $(top_srcdir)/client/tests/duid2_test.txt duid2_test.txt; \ + cp $(top_srcdir)/client/tests/duid3_test.txt duid3_test.txt; \ + fi sh ${top_builddir}/tests/unittest.sh distclean-local: |