[Pkg-haskell-commits] [package-plan] 133/457: Give comforting message at the end

Joachim Breitner nomeata at moszumanska.debian.org
Mon Apr 14 20:05:18 UTC 2014


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

nomeata pushed a commit to branch master
in repository package-plan.

commit 2fbcb2f86050b98184286db60603f8afb1c912cd
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Sat Jun 15 11:58:44 2013 +0000

    Give comforting message at the end
---
 test-packages.pl | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test-packages.pl b/test-packages.pl
index 1915df2..8b4b832 100644
--- a/test-packages.pl
+++ b/test-packages.pl
@@ -181,6 +181,7 @@ print "Running cabal-install...\n";
 my $out;
 my $err;
 if (run \@params, \"", \$out, \$err) {
+	my $count;
 	while ($out =~ m!^([a-zA-H0-9-]+)-([0-9.]+)$!gm) {
 		my ($pkg, $version) = ($1, $2);
 		unless (exists $versions{$pkg}) {
@@ -191,7 +192,9 @@ if (run \@params, \"", \$out, \$err) {
 			printf "ERROR: %s has %s but should have %\n", $pkg, $version, $versions{$pkg};
 			next
 		}
+		$count++;
 	}
+	printf "%s packages successfully tested for co-installability.\n", $count;
 } else {
 	print "Cabal install failed:\n";
 	print $err;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/package-plan.git



More information about the Pkg-haskell-commits mailing list