diff options
-rw-r--r-- | ctdb/wscript | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ctdb/wscript b/ctdb/wscript index 5f93f3a0668..35c8c0622fc 100644 --- a/ctdb/wscript +++ b/ctdb/wscript @@ -868,6 +868,13 @@ def build(bld): for d in ['volatile', 'persistent', 'state']: bld.INSTALL_DIR(os.path.join(bld.env.CTDB_VARDIR, d)) + # + # Test-only below this point + # + + if not bld.env.standalone_ctdb and not bld.CONFIG_GET('ENABLE_SELFTEST'): + return + bld.SAMBA_BINARY('errcode', source='tests/src/errcode.c', deps='replace', |