set ARCHITECTURE=%1%

cd %SLN_PATH%\unittest\%UNITTEST_NAME%
if "%ARCHITECTURE%" == "x64" (
	%SLN_PATH%\x64\Debug\%UNITTEST_NAME%.exe
) ELSE (
	ECHO Unknown architecture "%ARCHITECTURE%"
	GOTO fail
)

if ERRORLEVEL 1 goto fail

:success
echo %ARCHITECTURE% TEST SUCCESS
exit /b 0

:fail
echo %ARCHITECTURE% TEST FAIL
exit /b 1
