1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
samba-mirror/source3/smbd/notifyd/wscript_build
Volker Lendecke bbc065da6e test: Check that notifyd messages actually change the database
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Oct 24 07:20:17 UTC 2020 on sn-devel-184
2020-10-24 07:20:17 +00:00

45 lines
1.2 KiB
Python

#!/usr/bin/env python
bld.SAMBA3_SUBSYSTEM('fcn_wait',
source='fcn_wait.c',
deps='samba3core')
bld.SAMBA3_SUBSYSTEM('notifyd_db',
source='notifyd_entry.c notifyd_db.c',
deps='samba-debug dbwrap errors3')
bld.SAMBA3_SUBSYSTEM('notifyd',
source='notifyd.c',
deps='''
util_tdb
TDB_LIB
messages_util
notifyd_db
''')
bld.SAMBA3_BINARY('notifyd-tests',
source='tests.c',
install=False,
deps='''
smbconf
''')
bld.SAMBA3_BINARY('notifydd',
source='notifydd.c',
install=False,
deps='''notifyd
smbconf
''')
TORTURE_NOTIFYD_SOURCE='test_notifyd.c'
TORTURE_NOTIFYD_DEPS='fcn_wait notifyd_db'
bld.SAMBA_MODULE('TORTURE_NOTIFYD',
source=TORTURE_NOTIFYD_SOURCE,
subsystem='smbtorture',
init_function='torture_notifyd_init',
deps=TORTURE_NOTIFYD_DEPS,
internal_module=True,
enabled=bld.PYTHON_BUILD_IS_ENABLED()
)