]> granicus.if.org Git - python/commitdiff
Add -Wd and -3 to the flags used to run the tests.
authorEzio Melotti <ezio.melotti@gmail.com>
Wed, 31 Mar 2010 22:18:09 +0000 (22:18 +0000)
committerEzio Melotti <ezio.melotti@gmail.com>
Wed, 31 Mar 2010 22:18:09 +0000 (22:18 +0000)
Makefile.pre.in

index 9eea95475e40ebcb00eba9236671ab060970757b..3a1d381f550ed58b5b784ff062ca72f602ffd4d4 100644 (file)
@@ -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)