1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source4/torture/config.mk
Andrew Tridgell 31c1c7846f r2159: converted samba4 over to UTF-16.
I had previously thought this was unnecessary, as windows doesn't use
standards compliant UTF-16, and for filesystem operations treats bytes
as UCS-2, but Bjoern Jacke has pointed out to me that this means we
don't correctly store extended UTF-16 characters as UTF-8 on
disk. This can be seen with (for example) the gothic characters with
codepoints above 64k.

This commit also adds a LOCAL-ICONV torture test that tests the first
1 million codepoints against the system iconv library, and tests 5
million random UTF-16LE buffers for identical error handling to the
system iconv library.

the lib/iconv.c changes need backporting to samba3
(This used to be commit 756f28ac95)
2007-10-10 12:58:27 -05:00

187 lines
4.0 KiB
Makefile

# TORTURE subsystem
#################################
# Start SUBSYSTEM TORTURE_BASIC
[SUBSYSTEM::TORTURE_BASIC]
ADD_OBJ_FILES = \
torture/basic/scanner.o \
torture/basic/utable.o \
torture/basic/charset.o \
torture/basic/mangle_test.o \
torture/basic/denytest.o \
torture/basic/aliases.o
REQUIRED_SUBSYSTEMS = \
LIBSMB
# End SUBSYSTEM TORTURE_BASIC
#################################
#################################
# Start SUBSYSTEM TORTURE_BASIC
[SUBSYSTEM::TORTURE_RAW]
ADD_OBJ_FILES = \
torture/raw/qfsinfo.o \
torture/raw/qfileinfo.o \
torture/raw/setfileinfo.o \
torture/raw/search.o \
torture/raw/close.o \
torture/raw/open.o \
torture/raw/mkdir.o \
torture/raw/oplock.o \
torture/raw/notify.o \
torture/raw/mux.o \
torture/raw/ioctl.o \
torture/raw/chkpath.o \
torture/raw/unlink.o \
torture/raw/read.o \
torture/raw/context.o \
torture/raw/write.o \
torture/raw/lock.o \
torture/raw/rename.o \
torture/raw/seek.o
REQUIRED_SUBSYSTEMS = \
LIBSMB
# End SUBSYSTEM TORTURE_RAW
#################################
#################################
# Start SUBSYSTEM TORTURE_RPC
[SUBSYSTEM::TORTURE_RPC]
ADD_OBJ_FILES = \
torture/rpc/lsa.o \
torture/rpc/echo.o \
torture/rpc/dcom.o \
torture/rpc/dfs.o \
torture/rpc/drsuapi.o \
torture/rpc/spoolss.o \
torture/rpc/samr.o \
torture/rpc/wkssvc.o \
torture/rpc/srvsvc.o \
torture/rpc/svcctl.o \
torture/rpc/atsvc.o \
torture/rpc/eventlog.o \
torture/rpc/epmapper.o \
torture/rpc/winreg.o \
torture/rpc/mgmt.o \
torture/rpc/scanner.o \
torture/rpc/autoidl.o \
torture/rpc/testjoin.o \
torture/rpc/schannel.o \
torture/rpc/netlogon.o \
torture/rpc/bind.o
REQUIRED_SUBSYSTEMS = \
LIBSMB
# End SUBSYSTEM TORTURE_RPC
#################################
#################################
# Start SUBSYSTEM TORTURE_RAP
[SUBSYSTEM::TORTURE_RAP]
ADD_OBJ_FILES = \
torture/rap/rap.o
REQUIRED_SUBSYSTEMS = \
LIBSMB
# End SUBSYSTEM TORTURE_RAP
#################################
#################################
# Start SUBSYSTEM TORTURE_AUTH
[SUBSYSTEM::TORTURE_AUTH]
ADD_OBJ_FILES = \
torture/auth/ntlmssp.o
REQUIRED_SUBSYSTEMS = \
LIBSMB
# End SUBSYSTEM TORTURE_AUTH
#################################
#################################
# Start SUBSYSTEM TORTURE_LOCAL
[SUBSYSTEM::TORTURE_LOCAL]
ADD_OBJ_FILES = \
torture/local/iconv.o
REQUIRED_SUBSYSTEMS = \
LIBSMB
# End SUBSYSTEM TORTURE_LOCAL
#################################
#################################
# Start SUBSYSTEM TORTURE_NBENCH
[SUBSYSTEM::TORTURE_NBENCH]
ADD_OBJ_FILES = \
torture/nbench/nbio.o \
torture/nbench/nbench.o
# End SUBSYSTEM TORTURE_NBENCH
#################################
#################################
# Start SUBSYSTEM TORTURE_LDAP
[SUBSYSTEM::TORTURE_LDAP]
ADD_OBJ_FILES = \
torture/ldap/common.o \
torture/ldap/basic.o
REQUIRED_SUBSYSTEMS = \
LIBCLI_LDAP
# End SUBSYSTEM TORTURE_LDAP
#################################
#################################
# Start BINARY smbtorture
[BINARY::smbtorture]
OBJ_FILES = \
torture/torture.o \
torture/torture_util.o
REQUIRED_SUBSYSTEMS = \
TORTURE_BASIC \
TORTURE_RAW \
TORTURE_RPC \
TORTURE_RAP \
TORTURE_AUTH \
TORTURE_LOCAL \
TORTURE_NBENCH \
TORTURE_LDAP \
CONFIG \
LIBCMDLINE \
LIBBASIC
# End BINARY smbtorture
#################################
#################################
# Start BINARY gentest
[BINARY::gentest]
OBJ_FILES = \
torture/gentest.o \
torture/torture_util.o
REQUIRED_SUBSYSTEMS = \
LIBSMB \
CONFIG \
LIBBASIC \
LIBCMDLINE
# End BINARY gentest
#################################
#################################
# Start BINARY masktest
[BINARY::masktest]
OBJ_FILES = \
torture/masktest.o
REQUIRED_SUBSYSTEMS = \
LIBSMB \
CONFIG \
LIBBASIC \
LIBCMDLINE
# End BINARY masktest
#################################
#################################
# Start BINARY locktest
[BINARY::locktest]
OBJ_FILES = \
torture/locktest.o \
torture/torture_util.o
REQUIRED_SUBSYSTEMS = \
LIBSMB \
CONFIG \
LIBBASIC \
LIBCMDLINE
# End BINARY locktest
#################################