Merged revisions 79540-79541 via svnmerge from
authorEzio Melotti <ezio.melotti@gmail.com>
Fri, 2 Apr 2010 13:56:40 +0000 (13:56 +0000)
committerEzio Melotti <ezio.melotti@gmail.com>
Fri, 2 Apr 2010 13:56:40 +0000 (13:56 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

Add -Wd to the flags used to run the tests (-3 is not necessary here).

........
  r79540 | ezio.melotti | 2010-04-01 01:18:09 +0300 (Thu, 01 Apr 2010) | 1 line

  Add -Wd and -3 to the flags used to run the tests.
........
  r79541 | ezio.melotti | 2010-04-01 01:43:31 +0300 (Thu, 01 Apr 2010) | 1 line

  Add -Wd and -3 to the flags used to run the tests on Windows.
........

Makefile.pre.in
PCbuild/rt.bat

index e20946cf9936ccdb6cdb51218f1b31f5cfb8409a..80cb42e6637a73e134fd78a204f0d9f57505e559 100644 (file)
@@ -706,7 +706,7 @@ $(LIBRARY_OBJS) $(MODOBJS) Modules/python.o: $(PYTHON_HEADERS)
 
 TESTOPTS=      -l $(EXTRATESTOPTS)
 TESTPROG=      $(srcdir)/Lib/test/regrtest.py
-TESTPYTHON=    $(RUNSHARED) ./$(BUILDPYTHON) -E -bb
+TESTPYTHON=    $(RUNSHARED) ./$(BUILDPYTHON) -Wd -E -bb
 test:          all platform
                -find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f
                -$(TESTPYTHON) $(TESTPROG) $(TESTOPTS)
index 1ce0107f0a53d66b9157e67bb6b136bacd04672a..109d4b663ed9a7ce733249db2b8b2b92ba72daf9 100644 (file)
@@ -40,7 +40,7 @@ if "%1"=="-x64" (set prefix=amd64) & (set tcltk=tcltk64) & shift & goto CheckOpt
 
 PATH %PATH%;..\..\%tcltk%\bin
 set exe=%prefix%\python%suffix%
-set cmd=%exe% %dashO% -E ../lib/test/regrtest.py %1 %2 %3 %4 %5 %6 %7 %8 %9
+set cmd=%exe% %dashO% -Wd -E ../lib/test/regrtest.py %1 %2 %3 %4 %5 %6 %7 %8 %9
 if defined qmode goto Qmode
 
 echo Deleting .pyc/.pyo files ...