my $Files_In_Dir = $ENV{HARNESS_FILELEAK_IN_DIR};
+my $Ok_Slow = $ENV{HARNESS_OK_SLOW};
+
$Strap = Test::Harness::Straps->new;
@ISA = ('Exporter');
# For slow connections, we save lots of bandwidth by printing only once
# per second.
sub _print_ml_less {
- if( $Last_ML_Print != time ) {
+ if( !$Ok_Slow || $Last_ML_Print != time ) {
_print_ml(@_);
$Last_ML_Print = time;
}
consoles may not handle carriage returns properly (which results in a
somewhat messy output).
+=item C<HARNESS_OK_SLOW>
+
+If true, the C<ok> messages are printed out only every second.
+This reduces output and therefore may for example help testing
+over slow connections.
+
=item C<HARNESS_PERL_SWITCHES>
Its value will be prepended to the switches used to invoke perl on