runtests: fold timing details with GHA, sync -r tflags

- move timing details into a foldable group when run in GitHub Actions.
  Spec:
  https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#grouping-log-lines

- enable `-r` (run time stats) option in autotools' `test-ci` target,
  syncing it with cmake.

Closes #14284
This commit is contained in:
Viktor Szakats 2024-07-20 18:20:06 +02:00
parent 417052e99a
commit 1565c02ab4
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201
2 changed files with 5 additions and 1 deletions

View File

@ -127,7 +127,7 @@ TEST_E = -a -e
TEST_NF = -a -p ~flaky ~timing-dependent
# special CI target derived from nonflaky with CI-specific flags
TEST_CI = $(TEST_NF) -rm
TEST_CI = $(TEST_NF) -r -rm
endif
# make sure that PERL is pointing to an executable

View File

@ -1983,6 +1983,8 @@ sub runtimestats {
return if(not $timestats);
logmsg "::group::Run Time Stats\n";
logmsg "\nTest suite total running time breakdown per task...\n\n";
my @timesrvr;
@ -2109,6 +2111,8 @@ sub runtimestats {
}
logmsg "\n";
logmsg "::endgroup::\n";
}
#######################################################################