Commit 1ba0dac5 authored by Bjorn Munch's avatar Bjorn Munch

MTR: fix broken logic for ignoring missing ctest in Pushbuild

parent 877bf84e
......@@ -5998,7 +5998,7 @@ sub run_ctest() {
# Special override: also ignore in Pushbuild, some platforms may not have it
# Now, run ctest and collect output
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);
return;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment