Date: | Tue, 9 Jan 2018 22:25:11 +0100 |
Subject: | unit tests are not passing on non-x86 arch |
To: | bind9-bugs@isc.org |
From: | "Petr Menšík" <pemensik@redhat.com> |
Hello!
Thanks a lot for incorporation of kyua tool. Now it is quite simple to
run FAST unit tests for each build. However all builds of 9.11.2 failed
to pass tests, except x86_64 build. I found some portability errors that
makes them fail, here is the fix.
One is related to default (unsigned) char on a platform (I cannot
remember which one it was). Another issue with isc_crc64 on big endian
machine like s390x. Tested was 9.11.2 release on Fedora 27, quick
adjustment was made to master branch.
I did also backport fixes in lib/isc/tests/ht_test:isc_ht_iterator in
Fedora. Is it possible to backport it in next LTS minor release? It
always fails on 32 bit platform. Long term supported version might be
worth having unit tests that passes by default :)
Best Regards,
Petr
--
Petr Menšík
Software Engineer
Red Hat, http://www.redhat.com/
email: pemensik@redhat.com PGP: 65C6C973
Message body is not shown because sender requested not to inline it.