def set_options(opt):
opt.BUILTIN_DEFAULT('replace')
- opt.BUNDLED_EXTENSION_DEFAULT('talloc', noextenion='talloc')
+ opt.BUNDLED_EXTENSION_DEFAULT('talloc', noextension='talloc')
opt.RECURSE('lib/replace')
opt.add_option('--enable-talloc-compat1',
help=("Build talloc 1.x.x compat library [False]"),
abi_match='talloc* _talloc*',
hide_symbols=True,
vnum=VERSION,
- is_bundled=not bld.env.standalone_talloc,
- manpages='talloc.3')
+ is_bundled=not bld.env.standalone_talloc,
+ manpages='talloc.3')
# should we also install the symlink to libtalloc1.so here?
bld.SAMBA_LIBRARY('talloc-compat1',
deps='talloc',
enabled = bld.env.TALLOC_COMPAT1,
vnum=VERSION,
- is_bundled=not bld.env.standalone_talloc)
+ is_bundled=not bld.env.standalone_talloc)
if not getattr(bld.env, '_SAMBA_BUILD_', 0) == 4:
# s4 already has the talloc testsuite builtin to smbtorture
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'''