bind9/bin/tests
Nicki Křížek 2a0c3c8c14 Make system tests compatible with pytest 8.0.0+
The pytest collection mechanism has been overhauled in pytest 8.0.0,
resulting in a different node tree when collecting the tests. Ensure the
paths / names we're using that are derived from the node tree are
consistent across different pytest versions.

Particularly, this has affected the convenience symlink name (which is
supposed to be in the form of e.g. dns64_sh_dns64 for the dns64 module
and tests_sh_dns64.py module) and the test name that's logged at the
start of the test, which is supposed to include the system test
directory relative to the root system test directory as well as the
module name (e.g. dns64/tests_sh_dns64.py).

Related https://github.com/pytest-dev/pytest/issues/7777

(cherry picked from commit 7118cbed98)
2024-10-24 13:57:41 +02:00
..
startperf Reformat shell scripts with shfmt 2023-10-26 13:05:00 +02:00
system Make system tests compatible with pytest 8.0.0+ 2024-10-24 13:57:41 +02:00
testdata/wire move all optional tests from bin/tests to bin/tests/optional 2018-03-09 14:12:47 -08:00
.gitignore Refactor TLSDNS module to work with libuv/ssl directly 2021-01-25 09:19:22 +01:00
convert-trs-to-junit.py Use python3 in shebang lines for util scripts 2024-08-14 15:43:39 +00:00
Makefile.am Fix JUnit test status generator for out-of-tree system tests 2022-09-22 16:17:25 +02:00
test_client.c Use EXIT_SUCCESS and EXIT_FAILURE 2024-08-06 15:19:06 +02:00
test_server.c Use EXIT_SUCCESS and EXIT_FAILURE 2024-08-06 15:19:06 +02:00
wire_test.c Use EXIT_SUCCESS and EXIT_FAILURE 2024-08-06 15:19:06 +02:00