diff options
Diffstat (limited to 'lib/talloc')
-rw-r--r-- | lib/talloc/wscript | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/talloc/wscript b/lib/talloc/wscript index e4020692d60..eda62d19086 100644 --- a/lib/talloc/wscript +++ b/lib/talloc/wscript @@ -154,7 +154,7 @@ def build(bld): install=False) -def test(ctx): +def testonly(ctx): '''run talloc testsuite''' import samba_utils @@ -176,6 +176,12 @@ def test(ctx): 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() |