[libdist-zilla-perl] 01/01: Run test suite with explicitly with TZ=UTC being set

Axel Beckert abe at deuxchevaux.org
Thu Jan 21 20:52:50 UTC 2016


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

abe pushed a commit to branch master
in repository libdist-zilla-perl.

commit 450f05ee0c392f1d012b983c65ded0d8b352e728
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Thu Jan 21 21:51:33 2016 +0100

    Run test suite with explicitly with TZ=UTC being set
    
    Avoids timezone related test suite failures. See
    https://github.com/rjbs/Dist-Zilla/issues/497
---
 debian/changelog | 5 ++---
 debian/rules     | 2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9795a4f..d75d5a1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,5 @@
 libdist-zilla-perl (5.043-1) UNRELEASED; urgency=medium
 
-  TODO: FTBFS due to timezone related test suite failures:
-    https://github.com/rjbs/Dist-Zilla/issues/497
-
   [ Salvatore Bonaccorso ]
   * Update Vcs-Browser URL to cgit web frontend
 
@@ -16,6 +13,8 @@ libdist-zilla-perl (5.043-1) UNRELEASED; urgency=medium
   * Import upstream version 5.039 and 5.043
     + Update versioned (build) dependencies on libapp-cmd-perl and
       libconfig-mvp-reader-ini-perl.
+    + Run test suite with TZ=UTC being set to avoid timezone related test
+      suite failures. See https://github.com/rjbs/Dist-Zilla/issues/497
 
   [ gregor herrmann ]
   * Update (build) dependencies.
diff --git a/debian/rules b/debian/rules
index 44a02bb..d274661 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,4 +11,4 @@ override_dh_clean:
 
 override_dh_auto_test:
 	mkdir -p $(BUILDHOME)
-	HOME=$(BUILDHOME) dh_auto_test -- TEST_VERBOSE=0
+	TZ=UTC HOME=$(BUILDHOME) dh_auto_test -- TEST_VERBOSE=0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-perl.git



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