Add verbose option to test/run

If -v is specified print how to run the test manually even if
it doesn't fail.  Helpful for remembering how to do a
RepoAuthoritative build.
Esse commit está contido em:
Bert Maher
2013-05-15 15:41:59 -07:00
commit de Sara Golemon
commit 66f135b6df
+2 -1
Ver Arquivo
@@ -90,6 +90,7 @@ function get_options($argv) {
'm:' => 'mode:',
'' => 'server',
'h' => 'help',
'' => 'commands',
);
$options = array();
$files = array();
@@ -293,7 +294,7 @@ if (isset($options['repo'])) {
$return_value = run(implode(' ', $verify), $tests);
if ($return_value) {
if ($return_value || isset($options['commands'])) {
$command = implode(' ', command_arg($options, $tests));
$filename = 'FILENAME';
$extra_help = ' change FILENAME to the test you want';