From d6733b0d0b56cd7b1ae20742385bb087d0c2490f Mon Sep 17 00:00:00 2001 From: boombatower Date: Fri, 21 Sep 2012 18:52:09 -0700 Subject: Issue #1774002: Correct mistake introduced in simpletest cmi conversion by introducing --verbose-browser flag. --- core/scripts/run-tests.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/scripts/run-tests.sh b/core/scripts/run-tests.sh index 2395a84..e8e76b1 100755 --- a/core/scripts/run-tests.sh +++ b/core/scripts/run-tests.sh @@ -141,6 +141,10 @@ All arguments are long options. --verbose Output detailed assertion messages in addition to summary. + --verbose-browser + + Capture page requests and log them to files/simpletest/verbose. + --keep-results Keeps detailed assertion results (in the database) after tests @@ -189,6 +193,7 @@ function simpletest_script_parse_args() { 'file' => FALSE, 'color' => FALSE, 'verbose' => FALSE, + 'verbose-browser' => FALSE, 'keep-results' => FALSE, 'test_names' => array(), // Used internally. @@ -374,7 +379,7 @@ function simpletest_script_run_one_test($test_id, $test_class) { simpletest_classloader_register(); // Override configuration according to command line parameters. - $conf['simpletest.settings']['verbose'] = $args['verbose']; + $conf['simpletest.settings']['verbose'] = $args['verbose-browser']; $conf['simpletest.settings']['clear_results'] = !$args['keep-results']; $test = new $test_class($test_id); -- 1.7.12