]> 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 18:30:21 +0000 (20:30 +0200)
commitc0ca8854c5f50e7cf13ee3b44ac84ff73cce48e9
tree3ae91818954703915b5cd26e744503bc35994b6c
parent88549e884962a4c17365ee24a4675090a1753852
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