Debugging NSS_WRAPPER in the samba test environment.

Andrew Bartlett abartlet at samba.org
Tue Aug 11 00:33:53 UTC 2015


On Mon, 2015-08-10 at 10:55 +0200, Andreas Schneider wrote:
> On Monday 10 August 2015 20:49:03 Andrew Bartlett wrote:
> > On Mon, 2015-08-10 at 09:07 +0200, Stefan Metzmacher wrote:
> > > Am 10.08.2015 um 02:43 schrieb Andrew Bartlett:
> > > > if Options.is_install:
> > > Why the above check?
> > > 
> > > We use 'install=False,' later...
> > 
> > Very true.  So why Was -DNDEBUG ever added, for something that is 
> > never
> > installed?
> > 
> > BTW, we I'm pretty sure we can remove the whole --enable-selftest
> > argument, and just build/process these in the not 
> > Options.is_install
> > case, which would in turn allow distributions to run make test in 
> > their
> > package build scripts.
> 
> The wrappers do not work on really strange platforms like IRIX or 
> something like that. So if you just build Samba it compile without 
> the wrappers

That is reasonable.  But can you explain why -DNDEBUG is needed by
default?

Andrew Bartlett

-- 
Andrew Bartlett
https://samba.org/~abartlet/
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   
https://catalyst.net.nz/services/samba








More information about the samba-technical mailing list