Minor output format change of the Perl test suite script (align with the shell script).
mysql-test/lib/mtr_report.pl: Make the Perl test script output identical to that of the (old) shell script, so that reported differences compare as equal strings (for automatic analysis).
This commit is contained in:
parent
02fce1c316
commit
a5903ed9f3
@ -74,7 +74,7 @@ sub mtr_show_failed_diff ($) {
|
||||
sub mtr_report_test_name ($) {
|
||||
my $tinfo= shift;
|
||||
|
||||
printf "%-31s ", $tinfo->{'name'};
|
||||
printf "%-30s ", $tinfo->{'name'};
|
||||
}
|
||||
|
||||
sub mtr_report_test_skipped ($) {
|
||||
@ -122,13 +122,13 @@ sub mtr_report_test_failed ($) {
|
||||
# we should write out into $::path_timefile when the error occurs.
|
||||
if ( -f $::path_timefile )
|
||||
{
|
||||
print "Errors are (from $::path_timefile) :\n";
|
||||
print "\nErrors are (from $::path_timefile) :\n";
|
||||
print mtr_fromfile($::path_timefile); # FIXME print_file() instead
|
||||
print "\n(the last lines may be the most important ones)\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
print "Unexpected termination, probably when starting mysqld\n";
|
||||
print "\nUnexpected termination, probably when starting mysqld\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user