mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
mysql-test-run.pl:
Removed "use diagnostics", reduces Perl speed significantly. Can be enabled with "perl -Mdiagnostics mysql-test-run.pl". mtr_report.pl: Don't try output "skipped" comment if there is none (bug#24471)
This commit is contained in:
parent
728357200c
commit
9d328d7d62
2 changed files with 5 additions and 2 deletions
|
@ -89,10 +89,14 @@ sub mtr_report_test_skipped ($) {
|
|||
{
|
||||
print "[ disabled ] $tinfo->{'comment'}\n";
|
||||
}
|
||||
else
|
||||
elsif ( $tinfo->{'comment'} )
|
||||
{
|
||||
print "[ skipped ] $tinfo->{'comment'}\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
print "[ skipped ]\n";
|
||||
}
|
||||
}
|
||||
|
||||
sub mtr_report_tests_not_skipped_though_disabled ($) {
|
||||
|
|
|
@ -66,7 +66,6 @@ use IO::Socket::INET;
|
|||
use Data::Dumper;
|
||||
use strict;
|
||||
use warnings;
|
||||
use diagnostics;
|
||||
|
||||
select(STDOUT);
|
||||
$| = 1; # Automatically flush STDOUT
|
||||
|
|
Loading…
Reference in a new issue