summaryrefslogtreecommitdiff
path: root/lib/talloc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/talloc')
-rw-r--r--lib/talloc/wscript6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/talloc/wscript b/lib/talloc/wscript
index 4f95da7223..1670ebe48f 100644
--- a/lib/talloc/wscript
+++ b/lib/talloc/wscript
@@ -87,9 +87,11 @@ def build(bld):
def test(ctx):
'''run talloc testsuite'''
- import Utils
+ import Utils, samba_utils
cmd = os.path.join(Utils.g_module.blddir, 'talloc_testsuite')
- os.system(cmd)
+ ret = samba_utils.RUN_COMMAND(cmd)
+ print("testsuite returned %d" % ret)
+ sys.exit(ret)
def dist():
'''makes a tarball for distribution'''