From 42563820945a87bab612f306b01151b2f2e23024 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 29 Mar 2010 18:48:50 +1100 Subject: talloc-waf: don't build the talloc testsuite in s4 its built into smbtorture already --- lib/talloc/wscript | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'lib/talloc/wscript') diff --git a/lib/talloc/wscript b/lib/talloc/wscript index be21bde18c..e8aa1774e4 100644 --- a/lib/talloc/wscript +++ b/lib/talloc/wscript @@ -35,7 +35,9 @@ def build(bld): deps='replace', vnum=VERSION) - bld.SAMBA_BINARY('talloc_testsuite', - 'testsuite.c testsuite_main.c', - deps='talloc', - install=False) + if not getattr(bld.env, '_SAMBA_BUILD_', 0) == 4: + # s4 already has the talloc testsuite builtin to smbtorture + bld.SAMBA_BINARY('talloc_testsuite', + 'testsuite_main.c testsuite.c', + deps='talloc', + install=False) -- cgit