summaryrefslogtreecommitdiff
path: root/source3/Makefile.in
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-08-03 05:46:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:00:23 -0500
commitc731d11471ea9edd762b4cdb67bac06e77cb6f45 (patch)
treeb253ad14fa6015c9860ad6aaed5b2fe800535e05 /source3/Makefile.in
parent4dec112b8a99183e1dc01fd8cacad3ece85d21da (diff)
downloadsamba-c731d11471ea9edd762b4cdb67bac06e77cb6f45.tar.gz
samba-c731d11471ea9edd762b4cdb67bac06e77cb6f45.tar.bz2
samba-c731d11471ea9edd762b4cdb67bac06e77cb6f45.zip
r8990: First trivial example of 'make test'
(This used to be commit 11c886394970713a226d1fe46a4931ef97bb39a8)
Diffstat (limited to 'source3/Makefile.in')
-rw-r--r--source3/Makefile.in22
1 files changed, 15 insertions, 7 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 423c69089b..4c5fbb2773 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -771,6 +771,14 @@ pch:
rm -f $(srcdir)/include/includes.h.gch
$(CC) -I. -I$(srcdir) $(FLAGS) -c $(srcdir)/include/includes.h -o $(srcdir)/include/includes.h.gch
+##
+## Targets for 'make test'
+##
+test: all
+ @echo Running Samba 3 Test suite
+ sh ./script/tests/runtests.sh t_dir
+
+
# These dependencies are only approximately correct: we want to make
# sure Samba's paths are updated if ./configure is re-run. Really it
# would be nice if "make prefix=/opt/samba all" also rebuilt things,
@@ -1433,7 +1441,7 @@ TOPFILES=dynconfig.o dynconfig.@PICSUFFIX@
clean: delheaders python_clean
-rm -f core */*~ *~ */*.o */*.@PICSUFFIX@ */*.@SHLIBEXT@ \
$(TOPFILES) $(BIN_PROGS) $(SBIN_PROGS) $(MODULES) $(TORTURE_PROGS) \
- $(LIBSMBCLIENT) $(EVERYTHING_PROGS) .headers.stamp
+ $(LIBSMBCLIENT) $(EVERYTHING_PROGS) .headers.stamp t_dir
# Making this target will just make sure that the prototype files
# exist, not necessarily that they are up to date. Since they're
@@ -1572,9 +1580,9 @@ check: check-programs
# because they're not all needed.
check-programs: bin/t_strcmp bin/t_strstr bin/t_push_ucs2 bin/smbcontrol bin/t_snprintf
-test: all
- @if test -z "$(SMB4TORTURE)"; then \
- echo "Please set the SMB4TORTURE environment variable"; \
- exit 1; \
- fi
- ./script/smb4torture.sh `pwd`/prefix-test $(SMB4TORTURE)
+#test: all
+# @if test -z "$(SMB4TORTURE)"; then \
+# echo "Please set the SMB4TORTURE environment variable"; \
+# exit 1; \
+# fi
+# ./script/smb4torture.sh `pwd`/prefix-test $(SMB4TORTURE)