[9.20] fix: test: Add rr-related common test artifacts

Backport of MR !9830

Merge branch 'backport-mnowak/add-rr-related-common-artifacts-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!9889
This commit is contained in:
Mark Andrews 2024-12-11 01:28:45 +00:00
commit 1ea20c9847

View file

@ -310,13 +310,20 @@ def logger(request, system_test_name):
def expected_artifacts(request):
common_artifacts = [
".libs/*", # possible build artifacts, see GL #5055
"ns*/named.run",
"ns*/named.run.prev",
"ns*/named.conf",
"ns*/named.memstats",
"ns*/named.run",
"ns*/named.run.prev",
"pytest.log.txt",
]
if "USE_RR" in os.environ:
common_artifacts += [
"ns*/cpu_lock",
"ns*/latest-trace",
"ns*/named-[0-9]*",
]
try:
test_specific_artifacts = request.node.get_closest_marker("extra_artifacts")
except AttributeError: