[debhelper-devel] [debhelper] 01/02: t/syntax: Print the failing tool
Niels Thykier
nthykier at moszumanska.debian.org
Sat Oct 8 09:49:52 UTC 2016
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository debhelper.
commit 18049844eb63bff2cdf9aba2fbad3ebca2ab324e
Author: Niels Thykier <niels at thykier.net>
Date: Sat Oct 8 09:48:17 2016 +0000
t/syntax: Print the failing tool
Signed-off-by: Niels Thykier <niels at thykier.net>
---
t/syntax.t | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/t/syntax.t b/t/syntax.t
index f58577a..fb1d9c0 100755
--- a/t/syntax.t
+++ b/t/syntax.t
@@ -8,7 +8,8 @@ plan(tests => (@progs + @libs));
foreach my $file (@progs, @libs) {
print "# Testing $file\n";
- ok(system("perl -c $file >/dev/null 2>&1"), 0);
+ ok(system("perl -c $file >/dev/null 2>&1"), 0)
+ or print STDERR "# Testing $file is broken\n";
}
# Local Variables:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git
More information about the debhelper-devel
mailing list