[lintian] 01/02: t/runtests: Prettify concise output on errors
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit f45dcc6c2b3bc2e62f0b19050133d649306637b8
Author: Niels Thykier <niels@thykier.net>
Date: Sat Feb 6 10:25:02 2016 +0000
t/runtests: Prettify concise output on errors
Signed-off-by: Niels Thykier <niels@thykier.net>
---
t/runtests | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/t/runtests b/t/runtests
index bc9c7aa..7b02c54 100755
--- a/t/runtests
+++ b/t/runtests
@@ -843,11 +843,15 @@ sub handle_msg_from_child {
}
} elsif ($msg_type eq 'diff-files') {
my ($original, $actual) = @payload;
+ print "\n" if $partial_line;
+ $partial_line = 0;
print "${suite}::${testname}: diff -u ${original} ${actual}\n";
runsystem_ok('diff', '-u', $original, $actual);
} elsif ($msg_type eq 'dump-file') {
my ($log_file) = @payload;
my $prefix = "${suite}::${testname}: ";
+ print "\n" if $partial_line;
+ $partial_line = 0;
handle_dump_log($prefix, $log_file);
} elsif ($msg_type eq 'progress') {
my ($new_phase) = @payload;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: