]> git.ipfire.org Git - thirdparty/curl.git/commit
runtests: display the test status if tests appear hung
authorDan Fandrich <dan@coneharvesters.com>
Thu, 28 Sep 2023 17:41:50 +0000 (10:41 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Fri, 29 Sep 2023 15:58:52 +0000 (08:58 -0700)
commit65729f65c7c5086113285abc44ef59e5503ba6cf
treed824a54c0a59d65e758e597689d0842eec4ae856
parent5c006df36c849fa61451da0301545335fb5cb8bd
runtests: display the test status if tests appear hung

It sometimes happens that a test hangs during a test run and never
returns. The test harness will wait indefinitely for the results and on
CI servers the CI job will eventually be killed after an hour or two.
At the end of a test run, if results haven't come in within a couple of
minutes, display the status of all test runners and what tests they're
running to help in debugging the problem.

This feature is really only kick in with parallel testing enabled, which
is fine because without parallel testing it's usually easy to tell what
test has hung.

Closes #11980
tests/runtests.pl