anchor.diff:  goto :eof
   
   
  -
   :Main
   set PYVERSION=%1
   set MPICONF=%2
  
positive.code: set PATH=C:\MinGW\bin;%PATH%
  
  set TEST_PY=25,26,27,30,31,32
  set TEST_MPI=mpich2,deinompi,msmpi
  set TEST_CC=msvc,mingw32
  
  for %%A in (%TEST_PY%)  do (
  for %%B in (%TEST_MPI%) do (
  
negative.code: if not exist %MPIEXEC% goto :eof
  
  set INSTALLDIR=%TEMP%\mpi4py-buildtest
  set PYPATHDIR=%INSTALLDIR%\lib\python
  %PYTHON% setup.py -q clean --all
  %PYTHON% setup.py -q build  --mpi=%MPICONF% --compiler=%COMPILER% install --home=%INSTALLDIR%
  %PYTHON% setup.py -q clean --all
  if %MPICONF%==openmpi copy "%MPIDIR%\bin\lib*.dll" %PYPATHDIR%\mpi4py > NUL
  %MPIEXEC% -n 2 %PYTHON% test\runtests.py -q --path=%PYPATHDIR%
  del   /S /Q %PYPATHDIR% > NUL
  rmdir /S /Q %PYPATHDIR%\mpi4py > NUL
  rmdir /S /Q %INSTALLDIR%
  goto :eof
  