move s3 make test to selftest

Andreas Schneider asn at samba.org
Fri Aug 13 04:22:33 MDT 2010


On Friday 13 August 2010 12:00:12 Guenther Deschner wrote:
> Hi,

Hi Günther,
 
> is it ok if I move make test in s3 to selftest ?
> 
> http://git.samba.org/?p=gd/samba/.git;a=commitdiff;h=bb54f680f41c64830c91e1
> 14a1bd1321075108fc
> 
> The old "make test" would be still available of course as "make oldtest".
> 
> Yes, selftest requires perl but we require perl anyway for building the
> gen_ndr code. The advantage of finally moving to make selftest is that we
> can effectively work on member tests and that we can use the enormous
> flexibility selftest provides.
> 
> Sounds ok ?

Sounds great! I prefer using selftest as it proviedes a testenv and a 
gdbtestenv. You can easily override options and attach valgrind too.

See

http://wiki.samba.org/index.php/Writing_Torture_Tests#Running_tests



	-- andreas



More information about the samba-technical mailing list