]> git.ipfire.org Git - thirdparty/bind9.git/commit
Run "kyua report-html" for TSAN unit test jobs
authorMichał Kępień <michal@isc.org>
Thu, 26 Mar 2020 10:03:52 +0000 (11:03 +0100)
committerMichał Kępień <michal@isc.org>
Thu, 26 Mar 2020 10:03:52 +0000 (11:03 +0100)
commit6ebce9425e21615bfbe2aafe3bbc0b001885e882
treef2aba3a7fd48836776f62a7b440eb39532770ecd
parenta9aa295f1f3a5af1861d5be150f66522358da8aa
Run "kyua report-html" for TSAN unit test jobs

Definitions of jobs running unit tests under TSAN contain an
"after_script" YAML key.  Since the "unit_test_job" anchor is included
in those job definitions before "after_script" is defined, the
job-specific value of that key overrides the one defined in the included
anchor.  This prevents "kyua report-html" from being run for TSAN unit
test jobs.  Moving the invocation of "kyua report-html" to the "script"
key in the "unit_test_job" anchor is not acceptable as it would cause
the exit code of that command to determine the result of all unit test
jobs and we need that to be the exit code of "make unit".  Instead, add
"kyua report-html" invocations to the "after_script" key of TSAN unit
test job definitions to address the problem without affecting other job
definitions.
.gitlab-ci.yml