Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plugins bot
moodle-plugins-snapshots
Commits
6fd35788
Commit
6fd35788
authored
Feb 02, 2017
by
Rajesh Taneja
Committed by
Andrew Nicols
Feb 02, 2017
Browse files
MDL-54628 behat: Rerun command now include replace option passed
parent
21188592
Changes
1
Hide whitespace changes
Inline
Side-by-side
admin/tool/behat/cli/run.php
View file @
6fd35788
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment