From 1735037d5f2b3dc1fa9f5d21721a7dc00c869172 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 17 Jul 2005 12:23:40 +0000 Subject: r8525: added two more test targets: - 'make quicktest' for running only quick tests. Finishes in 20 seconds or so. - 'make valgrindtest' runs smbd under valgrind in a xterm window and runs the quick tests. Also disables tls as that slows down valgrind too much to be usable (This used to be commit af36bc401154d278dbe272628110634f62fdba25) --- source4/build/smb_build/makefile.pm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'source4/build') diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index 013140298c..820ccfaf6c 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -148,10 +148,17 @@ basics: idl proto_exists HEIMDAL_EXTERNAL test: @DEFAULT_TEST_TARGET@ test-swrap: all - ./script/tests/selftest.sh @selftest_prefix@/prefix-test SOCKET_WRAPPER + ./script/tests/selftest.sh @selftest_prefix@/prefix-test all SOCKET_WRAPPER test-noswrap: all - ./script/tests/selftest.sh @selftest_prefix@/prefix-test + ./script/tests/selftest.sh @selftest_prefix@/prefix-test all + +quicktest: all + ./script/tests/selftest.sh @selftest_prefix@/prefix-test quick SOCKET_WRAPPER + +valgrindtest: all + SMBD_VALGRIND="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \ + ./script/tests/selftest.sh @selftest_prefix@/prefix-test quick SOCKET_WRAPPER __EOD__ } -- cgit