[SCM] Debian package checker branch, master, updated. 2.5.1-195-gb6b9c67
The following commit has been merged in the master branch:
commit e9a995d376f27fef29dbc764a5a57180eacce5bc
Author: Niels Thykier <niels@thykier.net>
Date: Sat Aug 6 22:22:11 2011 +0200
t/runtests: Print an error if a test croaks
diff --git a/t/runtests b/t/runtests
index ae401b8..79f7a9c 100755
--- a/t/runtests
+++ b/t/runtests
@@ -679,7 +679,11 @@ sub run_tests{
threads->create(sub {
while (my $t = $q->dequeue_nb()) {
my $okay = eval { $code->($t); };
- unless ($okay) {
+ if (!$okay || $@) {
+ if ($@) {
+ msg_print "FAIELD\n";
+ print STDERR "$@\n";
+ }
exit 1 unless $run_all_tests;
lock($status);
$status = 1;
--
Debian package checker
Reply to: