MDL-54628 behat: Rerun command now include replace option passed

This commit is contained in:
Rajesh Taneja 2017-02-02 07:21:56 +08:00 committed by Andrew Nicols
parent 2118859218
commit 6fd35788c1

View File

@ -303,6 +303,9 @@ if ($verbose || $status) {
unset($extraopts['fromrun']);
unset($extraopts['torun']);
$extraopts['rerun'] = '--rerun';
if (!empty($options['replace'])) {
$extraopts['replace'] = '--replace="' . $options['replace'] . '"';
}
$extraoptstr = implode(' ', $extraopts);
echo behat_command::get_behat_command(true, true, true) . " " . $extraoptstr . PHP_EOL;
}