From: Ezio Melotti Date: Wed, 31 Mar 2010 22:18:09 +0000 (+0000) Subject: Add -Wd and -3 to the flags used to run the tests. X-Git-Tag: v2.7b1~168 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=90fd01b7870d3ec350776ed838d38edbc28c3655;p=python Add -Wd and -3 to the flags used to run the tests. --- diff --git a/Makefile.pre.in b/Makefile.pre.in index 9eea95475e..3a1d381f55 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)