Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
install=False)
-def test(ctx):
+def testonly(ctx):
'''run talloc testsuite'''
import samba_utils
print("python testsuite returned %d" % pyret)
sys.exit(ret or magic_ret or pyret)
+# WAF doesn't build the unit tests for this, maybe because they don't link with talloc?
+# This forces it
+def test(ctx):
+ Options.commands.append('build')
+ Options.commands.append('testonly')
+
def dist():
'''makes a tarball for distribution'''
samba_dist.dist()