r23136 - in /trunk/libwww-curl-perl/debian: changelog control rules

ghostbar-guest at users.alioth.debian.org ghostbar-guest at users.alioth.debian.org
Sun Jul 13 22:38:21 UTC 2008


Author: ghostbar-guest
Date: Sun Jul 13 22:38:21 2008
New Revision: 23136

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=23136
Log:
* debian/control: Added as build-depend libtest-pod-perl and libtest-pod-coverage-perl.
* debian/rules: Just run tests that don't require internet connection, the ones that require internet connection get moved to not/ temporaly and then get back to t/ after the tests got ran.

Modified:
    trunk/libwww-curl-perl/debian/changelog
    trunk/libwww-curl-perl/debian/control
    trunk/libwww-curl-perl/debian/rules

Modified: trunk/libwww-curl-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libwww-curl-perl/debian/changelog?rev=23136&op=diff
==============================================================================
--- trunk/libwww-curl-perl/debian/changelog (original)
+++ trunk/libwww-curl-perl/debian/changelog Sun Jul 13 22:38:21 2008
@@ -15,10 +15,12 @@
    + Added me as co-maintainer
    + Capitalized conflics and replaces.
    + Removed quilt from Build-Depends
-   + Added libmodule-install-perl as Build-Depend.
+   + Added libmodule-install-perl, libtest-pod-coverage-perl and
+   libtest-pod-perl as Build-Depend.
   * debian/rules:
    + Removed quilt.
-   + Re-enabled tests, tests needing webserver skipped.
+   + Re-enabled tests and moved the ones requiring internet to `not/' during
+   build-time, after that they get back in `t/'.
    + Now lib/WWW/Curl/Share.pm gets cleaned too and Makefile.old
   * debian/NEWS:
    + Deleted, no longer needed

Modified: trunk/libwww-curl-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libwww-curl-perl/debian/control?rev=23136&op=diff
==============================================================================
--- trunk/libwww-curl-perl/debian/control (original)
+++ trunk/libwww-curl-perl/debian/control Sun Jul 13 22:38:21 2008
@@ -5,7 +5,7 @@
 Uploaders: Michael Zehrer <zehrer at zepan.org>, Niko Tyni <ntyni at iki.fi>,
  Martín Ferrari <tincho at debian.org>,
  Jose Luis Rivas <ghostbar38 at gmail.com>
-Build-Depends: debhelper (>= 6), perl (>= 5.8.0-19), libcurl4-openssl-dev, libmodule-install-perl
+Build-Depends: debhelper (>= 6), perl (>= 5.8.0-19), libcurl4-openssl-dev, libmodule-install-perl, libtest-pod-coverage-perl (>= 1.04), libtest-pod-perl (>= 1.14)
 Standards-Version: 3.8.0
 Homepage: http://curl.haxx.se/libcurl/perl/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libwww-curl-perl/

Modified: trunk/libwww-curl-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libwww-curl-perl/debian/rules?rev=23136&op=diff
==============================================================================
--- trunk/libwww-curl-perl/debian/rules (original)
+++ trunk/libwww-curl-perl/debian/rules Sun Jul 13 22:38:21 2008
@@ -31,7 +31,26 @@
 build-stamp: configure-stamp
 	dh_testdir
 	$(MAKE) OPTIMIZE="$(CFLAGS)"
+#	Deactivating tests that needs internet
+	mkdir not
+	mv t/01basic.t not
+	mv t/02callbacks.t not
+	mv t/04abort-test.t not
+	mv t/05progress.t not
+	mv t/06http-post.t not
+	mv t/07ftp-upload.t not
+	mv t/08ssl.t not
+	mv t/09times.t not
+	mv t/10errbuf.t not
+	mv t/13slowleak.t not
+	mv t/14duphandle.t not
+	mv t/15duphandle-callback.t not
+	mv t/16formpost.t not
+	mv t/17slist.t not
+	mv t/18twinhandles.t not
 	$(MAKE) test
+#	Moving back to where tests deactivated belong
+	mv not/* t/
 	touch $@
 
 clean:




More information about the Pkg-perl-cvs-commits mailing list