aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lib/Test/Irssi/Driver.pm
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2011-03-04 05:19:41 +0000
committerTom Feist <shabble@metavore.org>2011-03-04 05:19:41 +0000
commit41c95c731cae9d39468acce966ed3e14e39191cf (patch)
treeeef5ed6865c7d2cd6b4a79143c010570d754868b /testing/lib/Test/Irssi/Driver.pm
parentworking with TAP::Harness (diff)
downloadirssi-scripts-41c95c731cae9d39468acce966ed3e14e39191cf.tar.gz
irssi-scripts-41c95c731cae9d39468acce966ed3e14e39191cf.zip
testing: mostly working TAP output, test.pl uses TAP::Harness to run tests. now
we just need some tests.
Diffstat (limited to '')
-rw-r--r--testing/lib/Test/Irssi/Driver.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/lib/Test/Irssi/Driver.pm b/testing/lib/Test/Irssi/Driver.pm
index 81e4f28..6b4e5e5 100644
--- a/testing/lib/Test/Irssi/Driver.pm
+++ b/testing/lib/Test/Irssi/Driver.pm
@@ -81,8 +81,9 @@ sub STOP {
$self->restore_term_settings($heap);
$self->parent->_logfile_fh->close();
- say "\n\n";
- $self->parent->summarise_test_results();
+ if (not $self->parent->generate_tap) {
+ $self->parent->summarise_test_results();
+ }
}
### Handle terminal STDIN. Send it to the background program's STDIN.