MDL-58250 behat: Status should be new exit code

Oring should not be done with old status,
as it will always return failure.
This commit is contained in:
Rajesh Taneja 2017-03-14 06:58:55 +08:00
parent 1034421264
commit 337eaa2b55

View File

@ -325,6 +325,7 @@ if ($verbose || $status) {
}
// Update status after auto-rerun finished.
$status = 0;
foreach ($exitcodes as $name => $exitcode) {
if ($exitcode) {
if (!empty($parallelrun)) {