]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add rr-related common test artifacts
authorMichal Nowak <mnowak@isc.org>
Thu, 5 Dec 2024 11:54:38 +0000 (12:54 +0100)
committerMichal Nowak <mnowak@isc.org>
Tue, 10 Dec 2024 17:51:21 +0000 (18:51 +0100)
(cherry picked from commit c607237b77f6cb56b51195f37685b83c73487fb6)

bin/tests/system/conftest.py

index 37a26bb5496a44a4707dade6633537c860f98d41..06cae48cad956cdbc2bcf6a7ee0f7c143fda65ec 100644 (file)
@@ -358,14 +358,21 @@ def logger(request, system_test_name):
 def expected_artifacts(request):
     common_artifacts = [
         ".libs/*",  # possible build artifacts, see GL #5055
+        "ns*/named.conf",
         "ns*/named.lock",
+        "ns*/named.memstats",
         "ns*/named.run",
         "ns*/named.run.prev",
-        "ns*/named.conf",
-        "ns*/named.memstats",
         "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: