]> 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>
Tue, 19 Sep 2023 12:47:49 +0000 (14:47 +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.

.gitlab-ci.yml

index 81b3871c6e3789aec537370cb99850d571a45d73..28510aad096138698ac5089f5932ebbeecddd99f 100644 (file)
@@ -417,6 +417,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:
@@ -1323,6 +1331,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