]> git.ipfire.org Git - thirdparty/bind9.git/commit
Log assertion failures right after test result
authorNicki Křížek <nicki@isc.org>
Thu, 26 Jun 2025 16:20:06 +0000 (18:20 +0200)
committerNicki Křížek <nicki@isc.org>
Fri, 27 Jun 2025 16:09:08 +0000 (18:09 +0200)
commit2239d7107c2525fcd2eb4405e9f7a95aba3c33c7
tree93b995b12a1bd7c7ed91689083eb6a9a97c756a6
parente83405a291b30133e7e0211c9365bfe1f7c381ac
Log assertion failures right after test result

The extra messages are typically traceback from assertion failures.
Previously, they'd be printed only after all individual test case
results have been printed. That made it difficult to pair the traceback
to the failing test in some cases, as the node information (aka test
name) might not always be present.

Instead, log any extra messages related to a particular test failure
directly after reporting its result, making the failure details more
readily available and easy to connect with a particular test case.

(cherry picked from commit fcf31417ddee33be028f69a1ea4326ccede46d78)
bin/tests/system/conftest.py