summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-03-31 22:18:09 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-03-31 22:18:09 (GMT)
commit90fd01b7870d3ec350776ed838d38edbc28c3655 (patch)
treea98018d302575a7b5f279e90b7e4af83bbc909b6
parent6257a7bbb2660ae75c44f2e71d7ac2ce73900f74 (diff)
downloadcpython-90fd01b7870d3ec350776ed838d38edbc28c3655.zip
cpython-90fd01b7870d3ec350776ed838d38edbc28c3655.tar.gz
cpython-90fd01b7870d3ec350776ed838d38edbc28c3655.tar.bz2
Add -Wd and -3 to the flags used to run the tests.
-rw-r--r--Makefile.pre.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 9eea954..3a1d381 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -683,13 +683,13 @@ $(LIBRARY_OBJS) $(MODOBJS) Modules/python.o: $(PYTHON_HEADERS)
# In the past, we've had problems where bugs in the marshalling or
# elsewhere caused bytecode read from .pyc files to behave differently
# than bytecode generated directly from a .py source file. Sometimes
-# the bytecode read from a .pyc file had the bug, somtimes the directly
+# the bytecode read from a .pyc file had the bug, sometimes the directly
# generated bytecode. This is sometimes a very shy bug needing a lot of
# sample data.
TESTOPTS= -l $(EXTRATESTOPTS)
TESTPROG= $(srcdir)/Lib/test/regrtest.py
-TESTPYTHON= $(RUNSHARED) ./$(BUILDPYTHON) -E -tt
+TESTPYTHON= $(RUNSHARED) ./$(BUILDPYTHON) -Wd -3 -E -tt
test: all platform
-find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f
-$(TESTPYTHON) $(TESTPROG) $(TESTOPTS)