summaryrefslogtreecommitdiffstats
path: root/PCbuild/rt.bat
diff options
context:
space:
mode:
Diffstat (limited to 'PCbuild/rt.bat')
-rw-r--r--PCbuild/rt.bat5
1 files changed, 4 insertions, 1 deletions
diff --git a/PCbuild/rt.bat b/PCbuild/rt.bat
index 2d93b80..3582672 100644
--- a/PCbuild/rt.bat
+++ b/PCbuild/rt.bat
@@ -42,12 +42,15 @@ if "%1"=="-x64" (set prefix=%pcbuild%amd64\) & shift & goto CheckOpts
if NOT "%1"=="" (set regrtestargs=%regrtestargs% %1) & shift & goto CheckOpts
set exe=%prefix%python%suffix%.exe
-set cmd="%exe%" %dashO% -Wd -E -bb "%pcbuild%..\lib\test\regrtest.py" %regrtestargs%
+set cmd="%exe%" %dashO% -Wd -E -bb -m test %regrtestargs%
if defined qmode goto Qmode
echo Deleting .pyc/.pyo files ...
"%exe%" "%pcbuild%rmpyc.py"
+echo Cleaning _pth files ...
+if exist %prefix%*._pth del %prefix%*._pth
+
echo on
%cmd%
@echo off