anchor.diff:    echo Error: nunit-console.exe is not in the PATH
     exit /b 1
   )
  -echo nunit-console.exe /nologo /result=%XMLFILE% /output=%OUTPUTFILE% /err=%ERRORFILE% /work=%FILEDIR% %~dp0..\Debug\net40\bin\FSharp.Core.Unittests.dll 
  -     nunit-console.exe /nologo /result=%XMLFILE% /output=%OUTPUTFILE% /err=%ERRORFILE% /work=%FILEDIR% %~dp0..\Debug\net40\bin\FSharp.Core.Unittests.dll 
  +echo nunit-console.exe /nologo /result=%XMLFILE% /output=%OUTPUTFILE% /err=%ERRORFILE% /work=%FILEDIR% %FSCBINPATH%\FSharp.Core.Unittests.dll 
  +     nunit-console.exe /nologo /result=%XMLFILE% /output=%OUTPUTFILE% /err=%ERRORFILE% /work=%FILEDIR% %FSCBINPATH%\FSharp.Core.Unittests.dll 
   
   goto :EOF
positive.code: set RESULTFILE=FSharp_Results.log
  set FAILFILE=FSharp_Failures.log
  set FAILENV=FSharp_Failures
  
  where.exe perl > NUL 2> NUL 
  if errorlevel 1 (
  
negative.code: rem set HOSTED_COMPILER=1
  
  rem path to fsc.exe which will be used by tests
  set FSCBINPATH=%~dp0..\%FLAVOR%\net40\bin
  
  if /I "%2" == "fsharp" (goto :FSHARP)
  if /I "%2" == "fsharpqa" (goto :FSHARPQA)
  if /I "%2" == "coreunit" (goto :COREUNIT)
  
  :USAGE
  
  echo Usage:
  echo.
  echo RunTests.cmd ^<debug^|release^> ^<fsharp^|fsharpqa^|coreunit^> [TagToRun^|"Tags,To,Run"] [TagNotToRun^|"Tags,Not,To,Run"]
  echo.
  exit /b 1
  
  