r9582: a few makefile fixes for 'make test'; get the dependencies and cleanup right
authorGerald Carter <jerry@samba.org>
Wed, 24 Aug 2005 12:42:32 +0000 (12:42 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:01:13 +0000 (11:01 -0500)
(This used to be commit bec6cf7ea80fde683e90590421569ea8ff88830c)

source3/Makefile.in

index cf76161e71dfae5b8dbedb926d85171089e6e782..aa6a526fbbf65e7b1972dc198477fb96176d3045 100644 (file)
@@ -774,7 +774,7 @@ pch:
 ##
 ## Targets for 'make test'
 ##
-test: all
+test: all torture
        @echo Running Samba 3 Test suite
        @sh ./script/tests/runtests.sh t_dir
 
@@ -1441,7 +1441,8 @@ 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 t_dir
+               $(LIBSMBCLIENT) $(EVERYTHING_PROGS) .headers.stamp 
+       -rm -rf 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