From 52e3f69a36b6ba6a589a8f768fbee77ee06b281c Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 16 Oct 2006 20:05:19 +0000 Subject: r19343: 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. (This used to be commit e1742c14a247fabba969f8698108e73997d3f420) --- source4/torture/local/config.mk | 1 - source4/torture/local/local.c | 5 ----- 2 files changed, 6 deletions(-) (limited to 'source4/torture/local') diff --git a/source4/torture/local/config.mk b/source4/torture/local/config.mk index 682fb55416..a997732c29 100644 --- a/source4/torture/local/config.mk +++ b/source4/torture/local/config.mk @@ -7,7 +7,6 @@ PRIVATE_PROTO_HEADER = \ proto.h OBJ_FILES = \ iconv.o \ - ../../lib/talloc/testsuite.o \ ../../lib/replace/test/testsuite.o \ ../../lib/replace/test/os2_delete.o \ ../../lib/crypto/md4test.o \ diff --git a/source4/torture/local/local.c b/source4/torture/local/local.c index 42fe94bc92..2408971199 100644 --- a/source4/torture/local/local.c +++ b/source4/torture/local/local.c @@ -52,12 +52,7 @@ NTSTATUS torture_local_init(void) struct torture_suite *suite = torture_suite_create( talloc_autofree_context(), "LOCAL"); - struct torture_suite *talloc_suite = torture_suite_create( - talloc_autofree_context(), - "TALLOC"); - torture_local_talloc(talloc_suite); - torture_suite_add_suite(suite, talloc_suite); torture_suite_add_simple_test(suite, "REPLACE", torture_local_replace); torture_suite_add_simple_test(suite, "CRYPTO-SHA1", torture_local_crypto_sha1); -- cgit