s3/docs: Add missing full stop.
[Samba/ekacnet.git] / source4 / selftest / config.mk
blob324532c22a71262a940bfe68bb7c47f79f981063
1 TEST_FORMAT = plain
3 SELFTEST = $(LD_LIBPATH_OVERRIDE) PYTHON=$(PYTHON) \
4 $(PERL) $(selftestdir)/selftest.pl --prefix=${selftest_prefix} \
5 --builddir=$(builddir) --srcdir=$(srcdir) \
6 --expected-failures=$(srcdir)/selftest/knownfail \
7 --format=$(TEST_FORMAT) \
8 --exclude=$(srcdir)/selftest/skip --testlist="./selftest/tests.sh|" \
9 $(TEST_OPTIONS)
11 SELFTEST_NOSLOW_OPTS = --exclude=$(srcdir)/selftest/slow
12 SELFTEST_QUICK_OPTS = $(SELFTEST_NOSLOW_OPTS) --quick --include=$(srcdir)/selftest/quick
14 slowtest:: everything
15 $(SELFTEST) $(DEFAULT_TEST_OPTIONS) --immediate $(TESTS)
17 test:: everything
18 $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) $(DEFAULT_TEST_OPTIONS) --immediate \
19 $(TESTS)
21 kvmtest:: everything
22 $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) $(DEFAULT_TEST_OPTIONS) --immediate \
23 --target=kvm --image=$(KVM_IMAGE)
25 kvmquicktest:: everything
26 $(SELFTEST) $(DEFAULT_TEST_OPTIONS) --immediate \
27 $(SELFTEST_QUICK_OPTS) --target=kvm --image=$(KVM_IMAGE)
29 testone:: everything
30 $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) $(DEFAULT_TEST_OPTIONS) --one $(TESTS)
32 test-swrap:: everything
33 $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) --socket-wrapper --immediate $(TESTS)
35 test-swrap-pcap:: everything
36 $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) --socket-wrapper-pcap --immediate $(TESTS)
38 test-swrap-keep-pcap:: everything
39 $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) --socket-wrapper-keep-pcap --immediate $(TESTS)
41 test-noswrap:: everything
42 $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) --immediate $(TESTS)
44 quicktest:: all
45 $(SELFTEST) $(SELFTEST_QUICK_OPTS) --socket-wrapper --immediate $(TESTS)
47 quicktestone:: all
48 $(SELFTEST) $(SELFTEST_QUICK_OPTS) --socket-wrapper --one $(TESTS)
50 testenv:: everything
51 $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) --socket-wrapper --testenv
53 testenv-%:: everything
54 SELFTEST_TESTENV=$* $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) --socket-wrapper --testenv
56 test-%::
57 $(MAKE) test TESTS=$*
59 valgrindtest:: valgrindtest-all
61 valgrindtest-quick:: all
62 SMBD_VALGRIND="xterm -n server -e $(selftestdir)/valgrind_run $(LD_LIBPATH_OVERRIDE)" \
63 VALGRIND="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/valgrind.log" \
64 $(SELFTEST) $(SELFTEST_QUICK_OPTS) --immediate --socket-wrapper $(TESTS)
66 valgrindtest-all:: everything
67 SMBD_VALGRIND="xterm -n server -e $(selftestdir)/valgrind_run $(LD_LIBPATH_OVERRIDE)" \
68 VALGRIND="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/valgrind.log" \
69 $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) --immediate --socket-wrapper $(TESTS)
71 valgrindtest-env:: everything
72 SMBD_VALGRIND="xterm -n server -e $(selftestdir)/valgrind_run $(LD_LIBPATH_OVERRIDE)" \
73 VALGRIND="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/valgrind.log" \
74 $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) --socket-wrapper --testenv
76 gdbtest:: gdbtest-all
78 gdbtest-quick:: all
79 SMBD_VALGRIND="xterm -n server -e $(selftestdir)/gdb_run $(LD_LIBPATH_OVERRIDE)" \
80 $(SELFTEST) $(SELFTEST_QUICK_OPTS) --immediate --socket-wrapper $(TESTS)
82 gdbtest-all:: everything
83 SMBD_VALGRIND="xterm -n server -e $(selftestdir)/gdb_run $(LD_LIBPATH_OVERRIDE)" \
84 $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) --immediate --socket-wrapper $(TESTS)
86 gdbtest-env:: everything
87 SMBD_VALGRIND="xterm -n server -e $(selftestdir)/gdb_run $(LD_LIBPATH_OVERRIDE)" \
88 $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) --socket-wrapper --testenv