"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/ldb/wscript" between
samba-4.12.3.tar.gz and samba-4.12.5.tar.gz

About: Samba is the standard Windows interoperability suite of programs for Linux and Unix providing secure, stable and fast file and print services for all clients using the SMB/CIFS protocol. 4.12 series.

wscript  (samba-4.12.3):wscript  (samba-4.12.5)
#!/usr/bin/env python #!/usr/bin/env python
APPNAME = 'ldb' APPNAME = 'ldb'
VERSION = '2.1.3' VERSION = '2.1.4'
import sys, os import sys, os
# find the buildtools directory # find the buildtools directory
top = '.' top = '.'
while not os.path.exists(top+'/buildtools') and len(top.split('/')) < 5: while not os.path.exists(top+'/buildtools') and len(top.split('/')) < 5:
top = top + '/..' top = top + '/..'
sys.path.insert(0, top + '/buildtools/wafsamba') sys.path.insert(0, top + '/buildtools/wafsamba')
out = 'bin' out = 'bin'
skipping to change at line 526 skipping to change at line 526
bld.SAMBA_BINARY('ldb_key_value_sub_txn_tdb_test', bld.SAMBA_BINARY('ldb_key_value_sub_txn_tdb_test',
bld.SUBDIR('ldb_key_value', bld.SUBDIR('ldb_key_value',
'''ldb_kv_search.c '''ldb_kv_search.c
ldb_kv_index.c ldb_kv_index.c
ldb_kv_cache.c''') + ldb_kv_cache.c''') +
'tests/ldb_key_value_sub_txn_test.c', 'tests/ldb_key_value_sub_txn_test.c',
cflags='-DTEST_BE=\"tdb\"', cflags='-DTEST_BE=\"tdb\"',
deps='cmocka ldb ldb_tdb_err_map', deps='cmocka ldb ldb_tdb_err_map',
install=False) install=False)
# If both libldap and liblber are available, test ldb_ldap
# code for a regression of bz#14413 -- even if we don't build
# it ourselves and simply using the system version
if bld.env.LIB_LDAP and bld.env.LIB_LBER:
bld.SAMBA_BINARY('lldb_ldap_test',
source='tests/lldb_ldap.c',
deps='cmocka talloc lber ldap ldb',
install=False)
if bld.CONFIG_SET('HAVE_LMDB'): if bld.CONFIG_SET('HAVE_LMDB'):
bld.SAMBA_BINARY('ldb_mdb_mod_op_test', bld.SAMBA_BINARY('ldb_mdb_mod_op_test',
source='tests/ldb_mod_op_test.c', source='tests/ldb_mod_op_test.c',
cflags='-DTEST_BE=\"mdb\" -DGUID_IDX=1 ' cflags='-DTEST_BE=\"mdb\" -DGUID_IDX=1 '
+ '-DTEST_LMDB=1', + '-DTEST_LMDB=1',
deps='cmocka ldb lmdb', deps='cmocka ldb lmdb',
install=False) install=False)
bld.SAMBA_BINARY('ldb_lmdb_test', bld.SAMBA_BINARY('ldb_lmdb_test',
source='tests/ldb_lmdb_test.c', source='tests/ldb_lmdb_test.c',
skipping to change at line 627 skipping to change at line 636
'ldb_tdb_test', 'ldb_tdb_test',
'ldb_match_test', 'ldb_match_test',
'ldb_key_value_test', 'ldb_key_value_test',
# we currently don't run ldb_key_value_sub_txn_tdb_test as it # we currently don't run ldb_key_value_sub_txn_tdb_test as it
# tests the nested/sub transaction handling # tests the nested/sub transaction handling
# on operations which the TDB backend does not currently # on operations which the TDB backend does not currently
# support # support
# 'ldb_key_value_sub_txn_tdb_test' # 'ldb_key_value_sub_txn_tdb_test'
'ldb_parse_test'] 'ldb_parse_test']
# if LIB_LDAP and LIB_LBER defined, then we can test ldb_ldap backend
# behavior regression for bz#14413
if env.LIB_LDAP and env.LIB_LBER:
test_exes += ["lldb_ldap_test"]
if env.HAVE_LMDB: if env.HAVE_LMDB:
test_exes += ['ldb_mdb_mod_op_test', test_exes += ['ldb_mdb_mod_op_test',
'ldb_lmdb_test', 'ldb_lmdb_test',
# we don't want to run ldb_lmdb_size_test (which proves we can # we don't want to run ldb_lmdb_size_test (which proves we can
# fit > 4G of data into the DB), it would fill up the disk on # fit > 4G of data into the DB), it would fill up the disk on
# many of our test instances # many of our test instances
'ldb_mdb_kv_ops_test', 'ldb_mdb_kv_ops_test',
'ldb_key_value_sub_txn_mdb_test', 'ldb_key_value_sub_txn_mdb_test',
'ldb_lmdb_free_list_test'] 'ldb_lmdb_free_list_test']
else: else:
 End of changes. 3 change blocks. 
1 lines changed or deleted 15 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)