From a5e9201a0f3afbff1c7daeb8b6ffb6baba4bb53c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 14 Sep 2011 22:56:01 -0400 Subject: - Patch #1263912 by TR: run-tests.sh fails to print out list of tests to be run. --- scripts/run-tests.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'scripts/run-tests.sh') diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index 02e897e41..30598233c 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -67,6 +67,8 @@ if ($args['list']) { exit; } +$test_list = simpletest_script_get_test_list(); + // Try to allocate unlimited time to run the tests. drupal_set_time_limit(0); @@ -485,12 +487,13 @@ function simpletest_script_reporter_init() { echo "\n"; } - echo "Test run started: " . format_date($_SERVER['REQUEST_TIME'], 'long') . "\n"; + echo "Test run started:\n"; + echo " " . format_date($_SERVER['REQUEST_TIME'], 'long') . "\n"; timer_start('run-tests'); echo "\n"; - echo "Test summary:\n"; - echo "-------------\n"; + echo "Test summary\n"; + echo "------------\n"; echo "\n"; } @@ -571,7 +574,7 @@ function simpletest_script_reporter_timer_stop() { echo "\n"; $end = timer_stop('run-tests'); echo "Test run duration: " . format_interval($end['time'] / 1000); - echo "\n"; + echo "\n\n"; } /** -- cgit v1.2.3