Skip to content
Snippets Groups Projects
Commit 81aaf704 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #1263912 by TR: run-tests.sh fails to print out list of tests to be run.

parent bb131220
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -67,6 +67,8 @@ ...@@ -67,6 +67,8 @@
exit; exit;
} }
$test_list = simpletest_script_get_test_list();
// Try to allocate unlimited time to run the tests. // Try to allocate unlimited time to run the tests.
drupal_set_time_limit(0); drupal_set_time_limit(0);
...@@ -485,12 +487,13 @@ function simpletest_script_reporter_init() { ...@@ -485,12 +487,13 @@ function simpletest_script_reporter_init() {
echo "\n"; 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'); timer_start('run-tests');
echo "\n"; echo "\n";
echo "Test summary:\n"; echo "Test summary\n";
echo "-------------\n"; echo "------------\n";
echo "\n"; echo "\n";
} }
...@@ -571,7 +574,7 @@ function simpletest_script_reporter_timer_stop() { ...@@ -571,7 +574,7 @@ function simpletest_script_reporter_timer_stop() {
echo "\n"; echo "\n";
$end = timer_stop('run-tests'); $end = timer_stop('run-tests');
echo "Test run duration: " . format_interval($end['time'] / 1000); echo "Test run duration: " . format_interval($end['time'] / 1000);
echo "\n"; echo "\n\n";
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment