'make test' or 'make selftest' in source3?

Jelmer Vernooij jelmer at samba.org
Mon May 17 18:37:51 MDT 2010

On Fri, 2010-05-14 at 21:24 -0700, Jeremy Allison wrote:
> On Sat, May 15, 2010 at 11:52:41AM +1000, Andrew Bartlett wrote:
> > Given the work I'm doing on s3compat, I want to be careful not to break
> > anything in the source3/ and common code that I may modify.
> > 
> > So far, I've been doing that verification with 'make test', but there is
> > also 'make selftest'.  Which should I be using?  What is the different
> > between them, and how can we eventually get to having just one test
> > target?
> I always use "make test", I think Guenther uses "make selftest".
"make test" is the old-style shell script, "make selftest" uses the same
(perl-based) infrastructure as Samba 4. The latter gives more granular
feedback and allows running individual tests. 

Now that the Samba 3 build depends on perl anyway (for pidl), would it
perhaps be possible to deprecate "make test" in favor of "make
selftest" ?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100518/5f0e0c31/attachment.pgp>

More information about the samba-technical mailing list