summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-04-02 13:56:40 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-04-02 13:56:40 (GMT)
commit63b4355c75d51ef3133464ae04adb94c5be9047a (patch)
tree7a48fe7b73912bd666f0466476e315cdf15eb623
parentf0f37950689a80ac9cb72bb04a5b2ac5ae485b2b (diff)
downloadcpython-63b4355c75d51ef3133464ae04adb94c5be9047a.zip
cpython-63b4355c75d51ef3133464ae04adb94c5be9047a.tar.gz
cpython-63b4355c75d51ef3133464ae04adb94c5be9047a.tar.bz2
Merged revisions 79540-79541 via svnmerge from
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. ........
-rw-r--r--Makefile.pre.in2
-rw-r--r--PCbuild/rt.bat2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index e20946c..80cb42e 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -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)
diff --git a/PCbuild/rt.bat b/PCbuild/rt.bat
index 1ce0107..109d4b6 100644
--- a/PCbuild/rt.bat
+++ b/PCbuild/rt.bat
@@ -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 ...