Skip to content

Commit a5e9201

Browse files
committed
- Patch #1263912 by TR: run-tests.sh fails to print out list of tests to be run.
1 parent b20c4da commit a5e9201

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

‎scripts/run-tests.sh‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ if ($args['list']) {
6767
exit;
6868
}
6969

70+
$test_list = simpletest_script_get_test_list();
71+
7072
// Try to allocate unlimited time to run the tests.
7173
drupal_set_time_limit(0);
7274

@@ -485,12 +487,13 @@ function simpletest_script_reporter_init() {
485487
echo "\n";
486488
}
487489

488-
echo "Test run started: " . format_date($_SERVER['REQUEST_TIME'], 'long') . "\n";
490+
echo "Test run started:\n";
491+
echo " " . format_date($_SERVER['REQUEST_TIME'], 'long') . "\n";
489492
timer_start('run-tests');
490493
echo "\n";
491494

492-
echo "Test summary:\n";
493-
echo "-------------\n";
495+
echo "Test summary\n";
496+
echo "------------\n";
494497
echo "\n";
495498
}
496499

@@ -571,7 +574,7 @@ function simpletest_script_reporter_timer_stop() {
571574
echo "\n";
572575
$end = timer_stop('run-tests');
573576
echo "Test run duration: " . format_interval($end['time'] / 1000);
574-
echo "\n";
577+
echo "\n\n";
575578
}
576579

577580
/**

0 commit comments

Comments
 (0)