summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-05-30 07:36:54 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-05-30 07:36:54 (GMT)
commit5b72cd321d06afb23affedda6674303971156497 (patch)
tree0cfca96bc584325772be2e0da775a6cb1ff93f69 /Makefile.pre.in
parent861089fc49e17bc3d192e01f19641d9e01e0fa03 (diff)
downloadcpython-5b72cd321d06afb23affedda6674303971156497.zip
cpython-5b72cd321d06afb23affedda6674303971156497.tar.gz
cpython-5b72cd321d06afb23affedda6674303971156497.tar.bz2
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.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 566e5d4..911470b 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -594,8 +594,17 @@ testuniversal: all platform
$(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 \