Author: jelmer Date: 2006-10-16 20:05:19 +0000 (Mon, 16 Oct 2006) New Revision: 19343
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19343 Log: Add support for external scripts/binaries that write results using the 'subunit' protocol. This allows us to easily plug EJS scripts or binaries that can't depend on -ltorture into smbtorture. The protocol is very simple: - write "comments" to stderr Example output on stdout: test: foo success: foo test: bar success: bar test: blah failure: blah [ dummy.c:30: Expression 1 != 2 failed! ] test: blie skip: blie [ Iconv support not built in ] I've already converted the talloc testsuite. Added: branches/SAMBA_4_0/source/bin/torture/ branches/SAMBA_4_0/source/torture/subunit.c Modified: branches/SAMBA_4_0/ branches/SAMBA_4_0/source/build/smb_build/makefile.pm branches/SAMBA_4_0/source/dynconfig.c branches/SAMBA_4_0/source/dynconfig.h branches/SAMBA_4_0/source/dynconfig.mk branches/SAMBA_4_0/source/lib/talloc/config.mk branches/SAMBA_4_0/source/lib/talloc/testsuite.c branches/SAMBA_4_0/source/main.mk branches/SAMBA_4_0/source/script/tests/mktestsetup.sh branches/SAMBA_4_0/source/torture/config.mk branches/SAMBA_4_0/source/torture/local/config.mk branches/SAMBA_4_0/source/torture/local/local.c branches/SAMBA_4_0/source/torture/smbtorture.c branches/SAMBA_4_0/source/torture/ui.c branches/SAMBA_4_0/source/torture/ui.h Changeset: Sorry, the patch is too large (1767 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19343