diff options
author | Tom Feist <shabble@metavore.org> | 2011-03-04 05:19:41 +0000 |
---|---|---|
committer | Tom Feist <shabble@metavore.org> | 2011-03-04 05:19:41 +0000 |
commit | 41c95c731cae9d39468acce966ed3e14e39191cf (patch) | |
tree | eef5ed6865c7d2cd6b4a79143c010570d754868b /testing/lib/Test/Irssi/Driver.pm | |
parent | working with TAP::Harness (diff) | |
download | irssi-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 'testing/lib/Test/Irssi/Driver.pm')
-rw-r--r-- | testing/lib/Test/Irssi/Driver.pm | 5 |
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. |