]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Help gcovr find isc/hash.h when included from lib/dns
authorOndřej Surý <ondrej@isc.org>
Fri, 1 Apr 2022 21:05:43 +0000 (23:05 +0200)
committerOndřej Surý <ondrej@isc.org>
Fri, 1 Apr 2022 21:05:43 +0000 (23:05 +0200)
Similar to other tweaks, copy the lib/isc/include/isc/hash.h to lib/dns
to help gcovr find the file.

.gitlab-ci.yml

index 727b2394a65680fc022bb149057927b045287cf0..5877c54a2611a34bf312a3531b7fb8ba5595e691 100644 (file)
@@ -1431,6 +1431,8 @@ gcov:
     # Help gcovr process the nasty tricks in lib/dns/code.h, where we include C
     # source files from lib/dns/rdata/*/, using an even nastier trick.
     - find lib/dns/rdata/* -name "*.c" -execdir cp -f "{}" ../../ \;
+    # Help gcovr process inline function in the isc/hash.h
+    - cp -f lib/isc/include/isc/hash.h lib/dns/hash.h
     # Generate XML file in the Cobertura XML format suitable for use by GitLab
     # for the purpose of displaying code coverage information in the diff view
     # of a given merge request.