| 1 |
#!/usr/bin/env python |
| 2 |
|
| 3 |
provision = bld.pyembed_libname('PROVISION') |
| 4 |
|
| 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/util/charset/tests/util_unistr.c |
| 17 |
../../../lib/tdr/testsuite.c |
| 18 |
../../../lib/tevent/testsuite.c ../../param/tests/share.c |
| 19 |
../../../lib/tevent/test_req.c |
| 20 |
../../param/tests/loadparm.c local.c |
| 21 |
dbspeed.c torture.c ../ldb/ldb.c ../../dsdb/common/tests/dsdb_dn.c |
| 22 |
../../dsdb/schema/tests/schema_syntax.c |
| 23 |
../../../lib/util/tests/anonymous_shared.c |
| 24 |
../../../lib/util/tests/strv.c |
| 25 |
../../../lib/util/tests/strv_util.c |
| 26 |
../../../lib/util/tests/util.c |
| 27 |
../../../lib/util/tests/util_str_escape.c |
| 28 |
../../../lib/util/tests/tfork.c |
| 29 |
verif_trailer.c |
| 30 |
nss_tests.c |
| 31 |
mdspkt.c |
| 32 |
fsrvp_state.c |
| 33 |
smbtorture_fullname.c''' |
| 34 |
|
| 35 |
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 |
|
| 37 |
bld.SAMBA_MODULE('TORTURE_LOCAL', |
| 38 |
source=TORTURE_LOCAL_SOURCE, |
| 39 |
autoproto='proto.h', |
| 40 |
subsystem='smbtorture', |
| 41 |
init_function='torture_local_init', |
| 42 |
deps=TORTURE_LOCAL_DEPS, |
| 43 |
internal_module=True, |
| 44 |
enabled=bld.PYTHON_BUILD_IS_ENABLED() |
| 45 |
) |