3 TORTURE_LOCAL_SOURCE
= '''../../../lib/util/charset/tests/iconv.c
4 ../../../lib/talloc/testsuite.c ../../lib/messaging/tests/messaging.c
5 ../../lib/messaging/tests/irpc.c ../../librpc/tests/binding_string.c
6 ../../../lib/util/tests/idtree.c ../../../lib/util/tests/dlinklist.c
7 ../../lib/socket/testsuite.c ../../libcli/resolve/testsuite.c
8 ../../../lib/util/tests/strlist.c ../../../lib/util/tests/parmlist.c
9 ../../../lib/util/tests/str.c ../../../lib/util/tests/time.c
10 ../../../lib/util/tests/asn1_tests.c ../../../lib/util/tests/data_blob.c
11 ../../../lib/util/tests/file.c ../../../lib/util/tests/genrand.c
12 ../../../lib/compression/testsuite.c ../../../lib/util/charset/tests/charset.c
13 ../../../lib/util/charset/tests/convert_string.c
14 ../../libcli/security/tests/sddl.c ../../../lib/tdr/testsuite.c
15 ../../../lib/tevent/testsuite.c ../../param/tests/share.c
16 ../../param/tests/loadparm.c ../../../auth/credentials/tests/simple.c local.c
17 dbspeed.c torture.c ../ldb/ldb.c ../../dsdb/common/tests/dsdb_dn.c
18 ../../dsdb/schema/tests/schema_syntax.c
19 ../../../lib/util/tests/anonymous_shared.c'''
21 TORTURE_LOCAL_DEPS
= 'RPC_NDR_ECHO TDR LIBCLI_SMB MESSAGING iconv POPT_CREDENTIALS TORTURE_AUTH TORTURE_UTIL TORTURE_NDR TORTURE_LIBCRYPTO share torture_registry PROVISION ldb samdb replace-test'
23 if bld
.CONFIG_SET("NSS_WRAPPER"):
24 TORTURE_LOCAL_SOURCE
+= " ../../../lib/nss_wrapper/testsuite.c"
25 TORTURE_LOCAL_DEPS
+= " nss_wrapper "
27 if bld
.CONFIG_SET("SOCKET_WRAPPER"):
28 TORTURE_LOCAL_SOURCE
+= " ../../../lib/socket_wrapper/testsuite.c"
29 TORTURE_LOCAL_DEPS
+= " socket_wrapper"
31 bld
.SAMBA_MODULE('TORTURE_LOCAL',
32 source
=TORTURE_LOCAL_SOURCE
,
34 subsystem
='smbtorture',
35 init_function
='torture_local_init',
36 deps
=TORTURE_LOCAL_DEPS
,