mirror of
https://github.com/samba-team/samba.git
synced 2025-01-20 14:03:59 +03:00
45c3d150d5
(This used to be commit 9714db7814fd43d2a10485c041bbb761360c0826)
75 lines
2.3 KiB
Makefile
75 lines
2.3 KiB
Makefile
SELFTEST = $(PERL) $(srcdir)/selftest/selftest.pl --prefix=${selftest_prefix} \
|
|
--builddir=$(builddir) --srcdir=$(srcdir) \
|
|
--expected-failures=$(srcdir)/samba4-knownfail \
|
|
--skip=$(srcdir)/samba4-skip \
|
|
$(TEST_OPTIONS)
|
|
|
|
htmltest: everything
|
|
$(SELFTEST) $(DEFAULT_TEST_OPTIONS) --format=html $(TESTS)
|
|
|
|
test: everything
|
|
$(SELFTEST) $(DEFAULT_TEST_OPTIONS) --immediate $(TESTS)
|
|
|
|
testone: everything
|
|
$(SELFTEST) $(DEFAULT_TEST_OPTIONS) --one $(TESTS)
|
|
|
|
test-swrap: everything
|
|
$(SELFTEST) --socket-wrapper --immediate $(TESTS)
|
|
|
|
test-swrap-pcap: everything
|
|
$(SELFTEST) --socket-wrapper-pcap --immediate $(TESTS)
|
|
|
|
test-swrap-keep-pcap: everything
|
|
$(SELFTEST) --socket-wrapper-keep-pcap --immediate $(TESTS)
|
|
|
|
test-noswrap: everything
|
|
$(SELFTEST) --immediate $(TESTS)
|
|
|
|
quicktest: all
|
|
$(SELFTEST) --quick --socket-wrapper --immediate $(TESTS)
|
|
|
|
htmlquicktest: all
|
|
$(SELFTEST) --quick --socket-wrapper --format=html --immediate $(TESTS)
|
|
|
|
quicktestone: all
|
|
$(SELFTEST) --quick --socket-wrapper --one $(TESTS)
|
|
|
|
testenv: everything
|
|
$(SELFTEST) --socket-wrapper --testenv
|
|
|
|
valgrindtest: valgrindtest-all
|
|
|
|
valgrindtest-quick: all
|
|
SMBD_VALGRIND="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
|
|
VALGRIND="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/valgrind.log" \
|
|
$(SELFTEST) --quick --immediate --socket-wrapper $(TESTS)
|
|
|
|
valgrindtest-all: everything
|
|
SMBD_VALGRIND="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
|
|
VALGRIND="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/valgrind.log" \
|
|
$(SELFTEST) --immediate --socket-wrapper $(TESTS)
|
|
|
|
valgrindtest-env: everything
|
|
SMBD_VALGRIND="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
|
|
VALGRIND="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/valgrind.log" \
|
|
$(SELFTEST) --socket-wrapper --testenv
|
|
|
|
gdbtest: gdbtest-all
|
|
|
|
gdbtest-quick: all
|
|
SMBD_VALGRIND="xterm -n smbd -e $(srcdir)/script/gdb_run " \
|
|
$(SELFTEST) --immediate --quick --socket-wrapper $(TESTS)
|
|
|
|
gdbtest-all: everything
|
|
SMBD_VALGRIND="xterm -n smbd -e $(srcdir)/script/gdb_run " \
|
|
$(SELFTEST) --immediate --socket-wrapper $(TESTS)
|
|
|
|
gdbtest-env: everything
|
|
SMBD_VALGRIND="xterm -n smbd -e $(srcdir)/script/gdb_run " \
|
|
$(SELFTEST) --socket-wrapper --testenv
|
|
|
|
wintest: all
|
|
$(SELFTEST) win
|
|
|
|
|