2010-03-28 01:48:49 +03:00
#!/usr/bin/env python
2011-01-18 19:00:26 +03:00
TORTURE_LOCAL_SOURCE = '''../../../lib/util/charset/tests/iconv.c
../../../lib/talloc/testsuite.c ../../lib/messaging/tests/messaging.c
../../lib/messaging/tests/irpc.c ../../librpc/tests/binding_string.c
../../../lib/util/tests/idtree.c ../../../lib/util/tests/dlinklist.c
../../lib/socket/testsuite.c ../../libcli/resolve/testsuite.c
../../../lib/util/tests/strlist.c ../../../lib/util/tests/parmlist.c
../../../lib/util/tests/str.c ../../../lib/util/tests/time.c
../../../lib/util/tests/asn1_tests.c ../../../lib/util/tests/data_blob.c
../../../lib/util/tests/file.c ../../../lib/util/tests/genrand.c
../../../lib/compression/testsuite.c ../../../lib/util/charset/tests/charset.c
2011-03-30 10:49:30 +04:00
../../../lib/util/charset/tests/convert_string.c
2011-01-18 19:00:26 +03:00
../../libcli/security/tests/sddl.c ../../../lib/tdr/testsuite.c
../../../lib/tevent/testsuite.c ../../param/tests/share.c
2011-10-07 10:20:33 +04:00
../../param/tests/loadparm.c ../../../auth/credentials/tests/simple.c local.c
2011-01-18 19:00:26 +03:00
dbspeed.c torture.c ../ldb/ldb.c ../../dsdb/common/tests/dsdb_dn.c
../../dsdb/schema/tests/schema_syntax.c
../../../lib/util/tests/anonymous_shared.c'''
2010-11-12 18:23:03 +03:00
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'
if bld.CONFIG_SET("NSS_WRAPPER"):
TORTURE_LOCAL_SOURCE += " ../../../lib/nss_wrapper/testsuite.c"
TORTURE_LOCAL_DEPS += " nss_wrapper "
if bld.CONFIG_SET("SOCKET_WRAPPER"):
TORTURE_LOCAL_SOURCE += " ../../../lib/socket_wrapper/testsuite.c"
TORTURE_LOCAL_DEPS += " socket_wrapper"
2010-03-17 14:07:42 +03:00
bld.SAMBA_MODULE('TORTURE_LOCAL',
2010-11-12 18:23:03 +03:00
source=TORTURE_LOCAL_SOURCE,
2010-03-17 14:07:42 +03:00
autoproto='proto.h',
subsystem='smbtorture',
init_function='torture_local_init',
2010-11-12 18:23:03 +03:00
deps=TORTURE_LOCAL_DEPS,
2010-03-17 12:12:16 +03:00
internal_module=True
2010-03-17 14:07:42 +03:00
)