how to set HAVE_CMOCKA

Andreas Schneider asn at samba.org
Wed Feb 21 07:29:58 UTC 2018


On Wednesday, 21 February 2018 08:27:22 CET Andrew Bartlett wrote:
> On Wed, 2018-02-21 at 08:16 +0100, Andreas Schneider wrote:
> > > Yes, I mentioned that above.  Any idea about the failure
> > > test_samba_module_probe test however?
> > 
> > $ CMOCKA_MESSAGE_OUTPUT=stdout ./bin/test_lib_util_modules
> > [==========] Running 3 test(s).
> > [ RUN      ] test_samba_module_probe
> > [       OK ] test_samba_module_probe
> > [ RUN      ] test_samba_module_probe_dummy
> > Test dummy executed!
> > [       OK ] test_samba_module_probe_dummy
> > [ RUN      ] test_samba_module_probe_slash
> > [       OK ] test_samba_module_probe_slash
> > [==========] 3 test(s) run.
> > [  PASSED  ] 3 test(s).
> 
> Sure, but does it run/pass from within make test?
> 
> What do you get for 'make test TESTS=unittest'?

There absolutely nothing different when executing that with 'make test'

[1(0)/5 at 0s] samba.unittests.krb5samba
[2(4)/5 at 0s] samba.unittests.sambafs_srv_pipe
[3(6)/5 at 0s] samba.unittests.lib_util_modules
[4(9)/5 at 1s] samba.unittests.smb1cli_session
[5(13)/5 at 1s] samba.unittests.tldap

ALL OK (15 tests in 5 testsuites)

-- 
Andreas Schneider                   GPG-ID: CC014E3D
Samba Team                             asn at samba.org
www.samba.org





More information about the samba-technical mailing list