From 25a0c9146eb66ee4b336af8c3ae12ffa9a2da62c Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 14 Feb 2007 19:30:05 +0000 Subject: r21347: All current tests in the testsuite mainly test the RPC code in general. Since we're running the testsuite mainly against ourselves, we only check that the push/pull functions work in our own environment, not whether they generate/parse the same data that other systems do. This commit adds the infrastructure for a testsuite for just the marshalling code. The idea is that you provide a data blob, a function name and a function to check the resulting struct for correctness. (This used to be commit 9bd2421e44dcfcaf08ad61cf25bb7714cf885517) --- source4/torture/config.mk | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source4/torture/config.mk') diff --git a/source4/torture/config.mk b/source4/torture/config.mk index 05435e782d..e3d6cef5ae 100644 --- a/source4/torture/config.mk +++ b/source4/torture/config.mk @@ -96,6 +96,13 @@ PRIVATE_DEPENDENCIES = TORTURE_UTIL include smb2/config.mk +[MODULE::torture_ndr] +SUBSYSTEM = torture +INIT_FUNCTION = torture_ndr_init +PRIVATE_PROTO_HEADER = ndr/proto.h +OBJ_FILES = ndr/ndr.o \ + ndr/winreg.o + [MODULE::torture_rpc] # TORTURE_NET and TORTURE_NBT use functions from torture_rpc... #OUTPUT_TYPE = INTEGRATED -- cgit