@echo off
@rem 
@rem  This file is intended to simplify launching Julia on Windows.
@rem
@rem See prepare-julia-env.bat for more info

SET tests=%*
IF NOT !%tests%==! GOTO RUN
SET tests=all

:RUN
pushd %cd%
setlocal enableextensions enabledelayedexpansion
call "%~dp0prepare-julia-env.bat" %tests%
cd "%JULIA_HOME%..\share\julia\test"
call "%JULIA_HOME%julia.exe" runtests.jl %tests%
endlocal
popd
pause
@echo on
