summaryrefslogtreecommitdiff
path: root/lib/ldb/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ldb/wscript')
-rw-r--r--lib/ldb/wscript8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/ldb/wscript b/lib/ldb/wscript
index 6d5be7a87be..d61589f74b0 100644
--- a/lib/ldb/wscript
+++ b/lib/ldb/wscript
@@ -363,6 +363,11 @@ def build(bld):
deps='cmocka ldb',
install=False)
+ bld.SAMBA_BINARY('ldb_match_test',
+ source='tests/ldb_match_test.c',
+ deps='cmocka ldb',
+ install=False)
+
def test(ctx):
'''run ldb testsuite'''
import Utils, samba_utils, shutil
@@ -391,7 +396,8 @@ def test(ctx):
cmocka_ret = 0
for test_exe in ['ldb_tdb_mod_op_test',
- 'ldb_msg_test']:
+ 'ldb_msg_test',
+ 'ldb_match_test']:
cmd = os.path.join(Utils.g_module.blddir, test_exe)
cmocka_ret = cmocka_ret or samba_utils.RUN_COMMAND(cmd)