The following commit has been merged in the master branch:
commit f5dd92244136d1f49bde1fdecf3e45aab328aea5
Author: Guillem Jover <[email protected]>
Date:   Wed Apr 17 21:31:32 2013 +0200

    build: Move generic perl test to the top level directory
    
    This test is useful for all perl code in the project, not just for the
    scripts directory. Move it to the top level directory so that we don't
    have to do strange things referencing sibling directories and similar.

diff --git a/Makefile.am b/Makefile.am
index 60ed5c1..ab7825d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -75,7 +75,10 @@ EXTRA_DIST = \
        debian/usertags \
        debian/rules \
        debian/shlibs.default \
-       debian/shlibs.override
+       debian/shlibs.override \
+       $(test_cases) \
+       $(test_data) \
+       $(nil)
 
 .PHONY: doc
 
@@ -126,6 +129,15 @@ coverage:
 coverage-clean:
 endif
 
+test_cases = \
+       test/000_pod.t \
+       $(nil)
+
+test_data = \
+       $(nil)
+
+include $(top_srcdir)/Makecheck.am
+
 .PHONY: update-po
 
 update-po:
@@ -153,4 +165,4 @@ dist-hook:
                done ; \
        fi
 
-clean-local: doc-clean coverage-clean
+clean-local: doc-clean coverage-clean check-clean
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 7a01c8c..ec8b93a 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -180,7 +180,6 @@ TEST_COVERAGE = $(PERL_COVERAGE)
 test_tmpdir = t.tmp
 
 test_cases = \
-       t/000_pod.t \
        t/100_Dpkg_Version.t \
        t/150_Dpkg_Package.t \
        t/190_Dpkg_Shlibs_Cppfilt.t \
diff --git a/scripts/t/000_pod.t b/test/000_pod.t
similarity index 100%
rename from scripts/t/000_pod.t
rename to test/000_pod.t

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to