[SCM] Debian packaging of libapache2-mod-perl2 branch, master, updated. debian/2.0.8+httpd24-r1449661-4-6-g20b70d9

Niko Tyni ntyni at debian.org
Thu Jun 20 10:07:38 UTC 2013


The following commit has been merged in the master branch:
commit fc77271d3ceab2fd99124e67ed1906077b7786b4
Author: Niko Tyni <ntyni at debian.org>
Date:   Wed Jun 19 22:15:03 2013 +0300

    Include the contents of t/logs/error_log in the build log if the test suite fails, to debug #711167 on ia64.

diff --git a/debian/changelog b/debian/changelog
index 3cc35e6..ad6f0cc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ libapache2-mod-perl2 (2.0.8+httpd24-r1449661-5) UNRELEASED; urgency=low
     for running 'apache2 -l'
   * Update debian/patches/030-apxs-no-prefix.patch to fall back to
     SYSCONFDIR when PREFIX fails.
+  * Include the contents of t/logs/error_log in the build log
+    if the test suite fails, to debug #711167 on ia64.
 
  -- Niko Tyni <ntyni at debian.org>  Wed, 19 Jun 2013 22:10:37 +0300
 
diff --git a/debian/rules b/debian/rules
index 3e7eaf9..6253c38 100755
--- a/debian/rules
+++ b/debian/rules
@@ -38,7 +38,11 @@ override_dh_auto_test:
 	touch $(APR)/t/logs/error_log
 	APACHE_TEST_EXTRA_ARGS="-httpd_conf $(CURDIR)/debian/apache2.conf" \
 		LANG=C \
-		dh_auto_test --max-parallel=1
+		dh_auto_test --max-parallel=1 || ( RET=$$?; \
+            echo "--- test suite failed with code $$RET, t/logs/error_log starts ---"; \
+            cat t/logs/error_log; \
+            echo "--- test suite failed with code $$RET, t/logs/error_log ends   ---"; \
+            exit $$RET )
 
 override_dh_clean:
 	dh_clean

-- 
Debian packaging of libapache2-mod-perl2



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