Debugging NSS_WRAPPER in the samba test environment.
Andreas Schneider
asn at samba.org
Tue Aug 11 06:36:16 UTC 2015
On Tuesday 11 August 2015 12:33:53 Andrew Bartlett wrote:
> 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?
It isn't really needed, normally you need the wrapper debug support only if
you debug the wrappers itself. Also the debug output is not the best. That's
why I didn't turn it on.
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
Samba Team asn at samba.org
www.samba.org
More information about the samba-technical
mailing list