summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/talloc/wscript14
1 files changed, 6 insertions, 8 deletions
diff --git a/lib/talloc/wscript b/lib/talloc/wscript
index 2340152efc..dd83e16a42 100644
--- a/lib/talloc/wscript
+++ b/lib/talloc/wscript
@@ -84,6 +84,12 @@ def build(bld):
pc_files=[],
public_headers=[],
enabled=bld.env.TALLOC_COMPAT1)
+
+ bld.SAMBA_BINARY('talloc_testsuite',
+ 'testsuite_main.c testsuite.c',
+ deps='talloc',
+ install=False)
+
else:
private_library = True
@@ -121,14 +127,6 @@ def build(bld):
enabled=True,
realname='talloc.so')
- 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)
-
-
def test(ctx):
'''run talloc testsuite'''
import Utils, samba_utils