mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Update 'abort_not_supported_test' to print a reason why the test was aborted
and use it in mysql-test-run.pl Use standard defines as last argument to 'fn_format'
This commit is contained in:
@ -2330,8 +2330,11 @@ sub run_testcase ($) {
|
||||
elsif ( $res == 62 )
|
||||
{
|
||||
# Testcase itself tell us to skip this one
|
||||
# FIXME get reason to skip from mysqltest
|
||||
$tinfo->{'comment'}= "Detected by testcase";
|
||||
|
||||
# Try to get reason from mysqltest.log
|
||||
my $last_line= mtr_lastlinefromfile($path_timefile) if -f $path_timefile;
|
||||
my $reason= mtr_match_prefix($last_line, "reason: ");
|
||||
$tinfo->{'comment'}= defined $reason ? $reason : "Detected by testcase(reason unknown) ";
|
||||
mtr_report_test_skipped($tinfo);
|
||||
}
|
||||
elsif ( $res == 63 )
|
||||
|
Reference in New Issue
Block a user