summaryrefslogtreecommitdiff
path: root/lib/talloc/wscript
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-29 18:48:50 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:16 +1000
commit42563820945a87bab612f306b01151b2f2e23024 (patch)
tree0c21200c371eeb925becd828b41524463ba19314 /lib/talloc/wscript
parent7a3dd2c53f350a04f350931863e1a1de98505e8a (diff)
downloadsamba-42563820945a87bab612f306b01151b2f2e23024.tar.gz
samba-42563820945a87bab612f306b01151b2f2e23024.tar.bz2
samba-42563820945a87bab612f306b01151b2f2e23024.zip
talloc-waf: don't build the talloc testsuite in s4
its built into smbtorture already
Diffstat (limited to 'lib/talloc/wscript')
-rw-r--r--lib/talloc/wscript10
1 files changed, 6 insertions, 4 deletions
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)