]> git.lttng.org Git - lttng-tools.git/commit
Tests: serial runner: fail test on abort (SIGINT and SIGTERM)
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 20 Dec 2024 15:02:31 +0000 (10:02 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 8 Jan 2025 16:48:06 +0000 (16:48 +0000)
commitf60a888eeff3048d223e7e8300f6c8ec659c3568
treefe962cb59b8ba2a83b141cd3c8ac324f6e121fe1
parent2d349a00c0d667133c7d67e2410fcdb8474d6674
Tests: serial runner: fail test on abort (SIGINT and SIGTERM)

The CI kills the test suite using SIGTERM when it remains stuck
for a given time. When this occurs, it is hard to figure out which
test was running.

Catch both SIGTERM and SIGINT signals to gracefully report a test
failure that indicates the top-level test that was running when
the signal was received.

The number of planned tests is extracted to give a "hint" to the
user that the test could not complete.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Id2aa025b43e9ddc205c784cc5e100fd04b46c3b9
tests/regression/tests.serial
This page took 0.029452 seconds and 4 git commands to generate.