[SCM] Debian package checker branch, master, updated. 2.5.11-226-gf94756e
The following commit has been merged in the master branch:
commit f94756e8708980b3cfc6bb550f14a37d046a8695
Author: Niels Thykier <niels@thykier.net>
Date: Sat Apr 6 21:59:55 2013 +0200
t/runtests: Include newlines when Lintian fails
Dump lintian output line-by-line without dropping the newlines. This
makes the output much more readable. Since the dump is no longer
"atomic", prefix the output with the testname as well.
Signed-off-by: Niels Thykier <niels@thykier.net>
diff --git a/t/runtests b/t/runtests
index 1c65562..390f7f8 100755
--- a/t/runtests
+++ b/t/runtests
@@ -491,7 +491,10 @@ sub run_lintian {
$status = ($? >> 8) & 255;
unless ($status == 0 or $status == 1) {
msg_print "FAILED\n";
- msg_print @data;
+ for my $line (@data) {
+ #NB: $line has trailing newline.
+ msg_print "$testdata->{testname}: $line";
+ }
fail "$LINTIAN @options $file exited with status $status";
} else {
@data = sort @data if $testdata->{sort};
--
Debian package checker
Reply to: