[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Remove test suite working dir in make local-distclean

From: William Uther <will+_at_cs.cmu.edu>
Date: 2002-08-26 21:16:48 CEST

On Monday, August 26, 2002, at 12:52 PM, Branko Èibej wrote:
> This is far from complete. You're missing [snip lots of missing stuff]

Er, okie. How about the patch below then? It creates a new target
similar to doc-clean that cleans the check results. I went through
searching for more directories created by 'check'. It seems that there
are some other tests which are commented out that might create yet more
temporary files. I have not included those in this patch.

Another way to do this would be to include something in the build conf.
That is starting to feel like overkill. What do others think?

\x/ill :-}

* Makefile.in:
   (local-distclean) Add a dependency on check-clean
   (check-clean) Remove all the temporary files used by check

Index: Makefile.in
===================================================================
--- Makefile.in
+++ Makefile.in Mon Aug 26 13:38:59 2002
@@ -108,7 +108,7 @@
         done
         rm -f $(CLEAN_FILES)

-local-distclean: local-clean
+local-distclean: local-clean check-clean
         rm -f Makefile config.cache config.log config.status libtool \
                 svn_private_config.h

@@ -132,6 +132,15 @@
         $(PYTHON) $(top_srcdir)/build/run_tests.py $$base_url \
                 '$(abs_srcdir)' '$(abs_builddir)' '$(PYTHON)'
'$(SHELL)' \
                 $(TEST_PROGRAMS) @FS_TEST_PROGRAMS@
+
+check-clean:
+ rm -rf subversion/tests/clients/cmdline/repositories \
+ subversion/tests/clients/cmdline/working_copies \
+ subversion/tests/clients/cmdline/local_tmp \
+ subversion/tests/libsvn_fs/test-repo-* \
+ subversion/tests/libsvn_repos/test-repo-* \
+ subversion/tests/libsvn_subr/z \
+ tests.log

  mkdir-init:
         @list='$(BUILD_DIRS) $(DOC_DIRS)'; for i in $$list doc; do \

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 26 21:17:29 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.