summaryrefslogtreecommitdiff
path: root/lib/tdb/wscript
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-04 22:11:30 +1000
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:26 +1000
commitfe060c8f50de23c4f3503a32c3237bb80bd68331 (patch)
tree20c44975fa6ab2fe6eb4f7269b44b0d76bdaa9c9 /lib/tdb/wscript
parent7d3421077216c00cf6744ab335447c5f75a9c24b (diff)
downloadsamba-fe060c8f50de23c4f3503a32c3237bb80bd68331.tar.gz
samba-fe060c8f50de23c4f3503a32c3237bb80bd68331.tar.bz2
samba-fe060c8f50de23c4f3503a32c3237bb80bd68331.zip
s4-waf: added simple 'waf test' support for tdb, talloc and ldb
Diffstat (limited to 'lib/tdb/wscript')
-rw-r--r--lib/tdb/wscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/tdb/wscript b/lib/tdb/wscript
index aff395f7fc..90fa191bf8 100644
--- a/lib/tdb/wscript
+++ b/lib/tdb/wscript
@@ -70,3 +70,9 @@ def build(bld):
enabled=s4_build,
realname='tdb.so')
+
+def test(ctx):
+ '''run tdb testsuite'''
+ import Utils
+ cmd = os.path.join(Utils.g_module.blddir, 'tdbtorture')
+ os.system(cmd)