ldb cmocka tests

Andrew Bartlett abartlet at samba.org
Thu Mar 30 07:19:05 UTC 2017


On Wed, 2017-03-29 at 15:22 +0200, Andreas Schneider via samba-
technical wrote:

> > Here is a patchset from Jakub his branch
> > 
> > https://github.com/jhrozek/samba-ldb-mdb/commits/lmdb
> > 
> > which only adds some unit tests.
> > 
> > cd lib/ldb
> > ./configure
> > make -j
> > make test
> 
> I've enabled subunit output.

I've tried to integrate this (I'm chasing ldb bugs, so this seemed the
ideal opportunity), but it fails on a host without cmocka while trying
to unconditionally use the test binary.  It also overwrote the result
of the shell-script test suite.

Please squash the attached in, then work out how cmocka is expected to
be handled in autobuild for the samba-libs build, as samba-libs (where
bundling is disabled) it fails with:

Checking for system cmocka >=
1.0                                                               : not
found 
ERROR: System library cmocka of version 1.0 not found, and bundling
disabled

Thanks!

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fixup-add-cmocka.patch
Type: text/x-patch
Size: 2160 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170330/3cc411ef/0001-fixup-add-cmocka.bin>


More information about the samba-technical mailing list