Skip to content
Snippets Groups Projects
Commit b43010c5 authored by Angie Byron's avatar Angie Byron
Browse files

#312847 by moshe weitzman: Fix end time reporting in run-tests.sh.

parent 9bc36524
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
......@@ -444,6 +444,7 @@ function simpletest_script_reporter_init() {
}
echo "Test run started: " . format_date($_SERVER['REQUEST_TIME'], 'long') . "\n";
timer_start('run-tests');
echo "\n";
echo "Test summary:\n";
......@@ -458,7 +459,8 @@ function simpletest_script_reporter_display_results() {
global $args, $test_id, $results_map;
echo "\n";
echo "Test run ended: " . format_date($_SERVER['REQUEST_TIME'], 'long') . "\n";
$end = timer_stop('run-tests');
echo "Test run duration: " . format_interval($end['time'] / 1000);
echo "\n";
if ($args['verbose']) {
......
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