]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Put CMocka unit tests in a suite
authorŠtěpán Balážik <stepan@isc.org>
Wed, 15 Oct 2025 15:15:12 +0000 (17:15 +0200)
committerŠtěpán Balážik <stepan@isc.org>
Fri, 19 Dec 2025 18:26:22 +0000 (18:26 +0000)
Distinguish them for JUnit report collection.

tests/dns/meson.build
tests/isc/meson.build
tests/isccfg/meson.build
tests/ns/meson.build

index dcbf853c727ad8b1c54d7f239435c073a8d0b287..73c811f10ef06e52514895c9283076a600d473a0 100644 (file)
@@ -94,7 +94,7 @@ foreach unit : dns_tests
         unit,
         test_bin,
         depends: master_data,
-        suite: 'dns',
+        suite: ['dns', 'cmocka'],
         timeout: 300,
         workdir: meson.current_source_dir(),
     )
index 0b4254c8ccba7a64aea0b439b13538c7096f8d52..a73d8373772c908302685a361e7442ddf70d1eee 100644 (file)
@@ -89,7 +89,7 @@ foreach unit : isc_test
         ],
     )
 
-    suites = ['isc']
+    suites = ['isc', 'cmocka']
     if unit in flaky_isc_test
         suites += 'flaky'
     endif
index 419986f595bc4ccb48aed5fe3d0df3fdcb5fe0dd..ece606e0a0b54f420132365094cc695543ae8eae 100644 (file)
@@ -32,7 +32,7 @@ foreach unit : [
     test(
         unit,
         test_bin,
-        suite: 'isccfg',
+        suite: ['isccfg', 'cmocka'],
         timeout: 300,
         workdir: meson.current_source_dir(),
     )
index 7d4e2e30fafb8b3653f737884c3c6d7a72e7886d..dc14986280e4a07a8187379a1ed1147f3b1169de 100644 (file)
@@ -36,7 +36,7 @@ foreach unit : [
     test(
         unit,
         test_bin,
-        suite: 'ns',
+        suite: ['ns', 'cmocka'],
         timeout: 300,
         workdir: meson.current_source_dir(),
     )