3 provision
= bld
.pyembed_libname('PROVISION')
5 TORTURE_LOCAL_SOURCE
= '''../../../lib/util/charset/tests/iconv.c
6 ../../../lib/talloc/testsuite.c ../../lib/messaging/tests/messaging.c
7 ../../lib/messaging/tests/irpc.c ../../librpc/tests/binding_string.c
8 ../../../lib/util/tests/idtree.c ../../../lib/util/tests/dlinklist.c
9 ../../lib/socket/testsuite.c ../../libcli/resolve/testsuite.c
10 ../../../lib/util/tests/strlist.c ../../../lib/util/tests/binsearch.c
11 ../../../lib/util/tests/str.c ../../../lib/util/tests/time.c
12 ../../../lib/util/tests/asn1_tests.c ../../../lib/util/tests/data_blob.c
13 ../../../lib/util/tests/file.c ../../../lib/util/tests/genrand.c
14 ../../../lib/util/charset/tests/charset.c
15 ../../../lib/util/charset/tests/convert_string.c
16 ../../../lib/tdr/testsuite.c
17 ../../../lib/tevent/testsuite.c ../../param/tests/share.c
18 ../../../lib/tevent/test_req.c
19 ../../param/tests/loadparm.c local.c
20 dbspeed.c torture.c ../ldb/ldb.c ../../dsdb/common/tests/dsdb_dn.c
21 ../../dsdb/schema/tests/schema_syntax.c
22 ../../../lib/util/tests/anonymous_shared.c
23 ../../../lib/util/tests/strv.c
24 ../../../lib/util/tests/strv_util.c
25 ../../../lib/util/tests/util.c
26 ../../../lib/util/tests/util_str_escape.c
27 ../../../lib/util/tests/tfork.c
32 smbtorture_fullname.c'''
34 TORTURE_LOCAL_DEPS
= 'RPC_NDR_ECHO TDR LIBCLI_SMB MESSAGING iconv TORTURE_AUTH TORTURE_UTIL TORTURE_NDR TORTURE_LIBCRYPTO share torture_registry %s ldb samdb replace-test RPC_FSS_STATE util_str_escape' % provision
36 bld
.SAMBA_MODULE('TORTURE_LOCAL',
37 source
=TORTURE_LOCAL_SOURCE
,
39 subsystem
='smbtorture',
40 init_function
='torture_local_init',
41 deps
=TORTURE_LOCAL_DEPS
,
43 enabled
=bld
.PYTHON_BUILD_IS_ENABLED()