From: Viktor Szakats Date: Sat, 20 Jul 2024 16:20:06 +0000 (+0200) Subject: runtests: fold timing details with GHA, sync `-r` tflags X-Git-Tag: curl-8_9_1~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1565c02ab4ce28301c8a13781ab3dfe6498603ef;p=thirdparty%2Fcurl.git 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 --- diff --git a/tests/Makefile.am b/tests/Makefile.am index 4e95b59f9d..f3e0f87e3c 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -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 diff --git a/tests/runtests.pl b/tests/runtests.pl index 9cc9ef1dfa..e5d8e3da04 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -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"; } #######################################################################