]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
ci: switch OpenBSD job to use make check
authorTom Krizek <tkrizek@isc.org>
Wed, 6 Sep 2023 11:43:18 +0000 (13:43 +0200)
committerTom Krizek <tkrizek@isc.org>
Wed, 20 Sep 2023 08:33:42 +0000 (10:33 +0200)
Invoking pytest directly provides a better formatted output and more
flexibility. However, it's prudent to verify that `make check` keeps
working as expected. Use it in the OpenBSD job which isn't executed as
frequently and its output is of least concern.

(cherry picked from commit f1c631f44899b728300240ad93f13bc72e78c12c)

.gitlab-ci.yml

index cff89be374bd47586efe8cba63193ee666d469ef..df6cec6800445facc5a858ed79a9e8e0cdadcd8c 100644 (file)
@@ -435,6 +435,14 @@ cross-version-config-tests:
     reports:
       junit: junit.xml
 
+.system_test_make_check: &system_test_make_check_job
+  <<: *system_test_common
+  script:
+    - cd bin/tests/system
+    - make -j${TEST_PARALLEL_JOBS:-1} check
+  after_script:
+    - cat bin/tests/system/test-suite.log || true
+
 .system_test_gcov: &system_test_gcov_job
   <<: *system_test_common
   artifacts:
@@ -1341,6 +1349,7 @@ clang:openbsd:amd64:
 system:clang:openbsd:amd64:
   <<: *openbsd_amd64_image
   <<: *system_test_job
+  <<: *system_test_make_check_job
   <<: *api_schedules_triggers_web_triggering_rules
   variables:
     USER: gitlab-runner