[9.20] fix: test: Ignore test artifacts in .libs

Some tests may leave artifacts in the .libs directory. Ignore this
directory when detecting expected artifacts.

Closes #5055

Backport of MR !9766

Merge branch 'backport-5055-ignore-libs-artifacts-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!9773
This commit is contained in:
Nicki Křížek
2024-11-26 10:15:25 +00:00
+1
View File
@@ -309,6 +309,7 @@ def logger(request, system_test_name):
@pytest.fixture(scope="module")
def expected_artifacts(request):
common_artifacts = [
".libs/*", # possible build artifacts, see GL #5055
"ns*/named.run",
"ns*/named.run.prev",
"ns*/named.conf",