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

This commit is contained in:
Rajesh Taneja
2017-02-02 08:21:31 +08:00
committed by Andrew Nicols
parent 0c4422af0b
commit 0bcbd5b205
+3
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;
}