summaryrefslogtreecommitdiff
path: root/lib/ldb/wscript
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-04-04 18:52:25 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-04-10 16:57:06 +1000
commitc484f259c66ffcf0649dd5ab0d7c86e5c70d31af (patch)
tree776914f0ea58307c41d4734365d2f2a168f8f3aa /lib/ldb/wscript
parent57341c0f29911d09e511c840386a35290febb9f9 (diff)
downloadsamba-c484f259c66ffcf0649dd5ab0d7c86e5c70d31af.tar.gz
samba-c484f259c66ffcf0649dd5ab0d7c86e5c70d31af.tar.bz2
samba-c484f259c66ffcf0649dd5ab0d7c86e5c70d31af.zip
ldb: Detect failures in ldb.base again
We need to wrap the ldb tests in the subunit blackbox helpers. We also needed to change to the right directory, or else the :< file:// syntax check does not work, as samba4.png is not found. Andrew Bartlett
Diffstat (limited to 'lib/ldb/wscript')
-rwxr-xr-xlib/ldb/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ldb/wscript b/lib/ldb/wscript
index f297e9af94..b2a23bfb17 100755
--- a/lib/ldb/wscript
+++ b/lib/ldb/wscript
@@ -271,7 +271,7 @@ def test(ctx):
shutil.rmtree(test_prefix, ignore_errors=True)
os.makedirs(test_prefix)
os.environ['TEST_DATA_PREFIX'] = test_prefix
- cmd = 'tests/test-tdb.sh'
+ cmd = 'tests/test-tdb.sh %s' % Utils.g_module.blddir
ret = samba_utils.RUN_COMMAND(cmd)
print("testsuite returned %d" % ret)
# FIXME: Run python testsuite