[Python-Dev] any opinion on 'make quicktest'?

Jeremy Hylton jeremy@alum.mit.edu
Thu, 1 Feb 2001 11:21:30 -0500 (EST)


I run the regression test a lot.  I have found that it is often useful
to exclude some of the slowest tests for most of the test runs and
then do a full test run before I commit changes.  Would anyone be
opposed to a quicktest target in the Makefile that supports this
practice?  There are a small number of tests that each take at least
10 seconds to complete.

Jeremy


Index: Makefile.pre.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/Makefile.pre.in,v
retrieving revision 1.8
diff -c -r1.8 Makefile.pre.in
*** Makefile.pre.in	2001/01/29 20:18:59	1.8
--- Makefile.pre.in	2001/02/01 16:19:37
***************
*** 472,477 ****
--- 472,484 ----
  		-PYTHONPATH= $(TESTPYTHON) $(TESTPROG) $(TESTOPTS)
  		PYTHONPATH= $(TESTPYTHON) $(TESTPROG) $(TESTOPTS)
  
+ QUICKTESTOPTS=	$(TESTOPTS) -x test_thread test_signal test_strftime \
+ 		test_unicodedata test_re test_sre test_select test_poll
+ quicktest:	all platform
+ 		-rm -f $(srcdir)/Lib/test/*.py[co]
+ 		-PYTHONPATH= $(TESTPYTHON) $(TESTPROG) $(QUICKTESTOPTS)
+ 		PYTHONPATH= $(TESTPYTHON) $(TESTPROG) $(QUICKTESTOPTS)
+ 
  # Install everything
  install:	altinstall bininstall maninstall