[libapache2-mod-perl2] 11/12: don't dump the error log after test failures, it was never very useful and causes more trouble than it's worth. (See #711167)

Niko Tyni ntyni at moszumanska.debian.org
Thu Aug 7 20:13:37 UTC 2014


This is an automated email from the git hooks/post-receive script.

ntyni pushed a commit to branch master
in repository libapache2-mod-perl2.

commit 597c4399a8c6150caef82cfb5a95879c78be1c2c
Author: Niko Tyni <ntyni at debian.org>
Date:   Thu Aug 7 20:42:09 2014 +0300

    don't dump the error log after test failures, it was never very useful and causes more trouble than it's worth. (See #711167)
---
 debian/changelog | 2 ++
 debian/rules     | 6 +-----
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 40a8cf7..f70727f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,6 +26,8 @@ libapache2-mod-perl2 (2.0.9~1604013-1) UNRELEASED; urgency=medium
   * Drop 300-http-headers-version.patch in favour of the upstream fix.
   * Drop 310-defaultruntimedir.patch, applied upstream.
   * Clean up obsolete complications in debian/rules.
+    + don't dump the error log after test failures, it was never very
+      useful and causes more trouble than it's worth. (See #711167)
 
  -- gregor herrmann <gregoa at debian.org>  Sat, 15 Feb 2014 20:25:47 +0100
 
diff --git a/debian/rules b/debian/rules
index f00ecd5..a9e2ed8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,11 +25,7 @@ override_dh_auto_build:
 override_dh_auto_test:
 	APACHE_TEST_EXTRA_ARGS="-httpd_conf $(CURDIR)/debian/apache2.conf" \
 		LANG=C \
-		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 )
+		dh_auto_test --max-parallel=1
 
 override_dh_clean:
 	dh_clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libapache2-mod-perl2.git



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