summaryrefslogtreecommitdiff
path: root/lib/talloc/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'lib/talloc/wscript')
-rw-r--r--lib/talloc/wscript11
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/talloc/wscript b/lib/talloc/wscript
index 19294d9b9b4..9cedbbf8070 100644
--- a/lib/talloc/wscript
+++ b/lib/talloc/wscript
@@ -100,6 +100,10 @@ def build(bld):
testsuite_deps,
install=False)
+ bld.SAMBA_BINARY('talloc_test_magic_differs_helper',
+ 'test_magic_differs_helper.c',
+ 'talloc', install=False)
+
else:
private_library = True
@@ -154,9 +158,14 @@ def test(ctx):
cmd = os.path.join(Utils.g_module.blddir, 'talloc_testsuite')
ret = samba_utils.RUN_COMMAND(cmd)
print("testsuite returned %d" % ret)
+ magic_cmd = os.path.join(srcdir, 'lib', 'talloc',
+ 'test_magic_differs.sh')
+
+ magic_ret = samba_utils.RUN_COMMAND(magic_cmd)
+ print("magic differs test returned %d" % magic_ret)
pyret = samba_utils.RUN_PYTHON_TESTS(['test_pytalloc.py'])
print("python testsuite returned %d" % pyret)
- sys.exit(ret or pyret)
+ sys.exit(ret or magic_ret or pyret)
def dist():
'''makes a tarball for distribution'''