[Python-checkins] r46554 - python/trunk/Makefile.pre.in

neal.norwitz python-checkins at python.org
Tue May 30 09:36:55 CEST 2006


Author: neal.norwitz
Date: Tue May 30 09:36:54 2006
New Revision: 46554

Modified:
   python/trunk/Makefile.pre.in
Log:
I'm impatient.  I think this will fix a few more problems with the buildbots.
I'm not sure this is the best approach, but I can't think of anything better.
If this creates problems, feel free to revert, but I think it's safe and
should make things a little better.


Modified: python/trunk/Makefile.pre.in
==============================================================================
--- python/trunk/Makefile.pre.in	(original)
+++ python/trunk/Makefile.pre.in	Tue May 30 09:36:54 2006
@@ -594,8 +594,17 @@
 		$(RUNSHARED) /usr/libexec/oah/translate ./$(BUILDPYTHON) -E -tt $(TESTPROG) $(TESTOPTS) -uall
 
 
+# These two force rules are only used for buildbottest.
+#  - cleanup tries to cleanup after broken tests.
+#  - setup ensures that we are using the latest version of Modules/Setup.dist.
+forcecleanup:
+		-rm -rf $(srcdir)/@test*
+
+forcesetup:
+		cp $(srcdir)/Modules/Setup.dist $(srcdir)/Modules/Setup
+
 # Like testall, but with a single pass only
-buildbottest:	all platform
+buildbottest:	forcecleanup forcesetup all platform
 		$(TESTPYTHON) $(TESTPROG) $(TESTOPTS) -uall -rw
 
 QUICKTESTOPTS=	$(TESTOPTS) -x test_thread test_signal test_strftime \


More information about the Python-checkins mailing list