mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
mtr: abort when a suite.pm fails to load, don't just ignore the errors.
Fix all suite.pm files that had errors and test files that were skipped because of that
This commit is contained in:
@ -250,6 +250,7 @@ sub load_suite_object {
|
||||
unless (defined $suites{$suitename}) {
|
||||
if (-f "$suitedir/suite.pm") {
|
||||
$suite= do "$suitedir/suite.pm";
|
||||
mtr_error("Cannot load $suitedir/suite.pm: $@") if $@;
|
||||
unless (ref $suite) {
|
||||
my $comment = $suite;
|
||||
$suite = My::Suite->new();
|
||||
|
Reference in New Issue
Block a user