mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
MTR: fix broken logic for ignoring missing ctest in Pushbuild
This commit is contained in:
@@ -5998,7 +5998,7 @@ sub run_ctest() {
|
|||||||
# Special override: also ignore in Pushbuild, some platforms may not have it
|
# Special override: also ignore in Pushbuild, some platforms may not have it
|
||||||
# Now, run ctest and collect output
|
# Now, run ctest and collect output
|
||||||
my $ctest_out= `ctest $ctest_vs 2>&1`;
|
my $ctest_out= `ctest $ctest_vs 2>&1`;
|
||||||
if ($? == $no_ctest && $opt_ctest == -1 && ! defined $ENV{PB2WORKDIR}) {
|
if ($? == $no_ctest && ($opt_ctest == -1 || defined $ENV{PB2WORKDIR})) {
|
||||||
chdir($olddir);
|
chdir($olddir);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user