check.bin.compatibility.vs2010.bat (1991B)
1@echo off 2title Building Premake VS2010 Environment... 3call build.all.vs2010.bat 4 5title Building SDL VS2010 Environment... 6cd %~dp0 7cd ..\..\..\VisualC 8msbuild /m SDL_VS2010.sln /t:Clean,Build /property:Configuration=Debug 9pause 10 11title Running SDL VS2010 tests with premake SDL2.dll... 12cd tests 13 14call :pass checkkeys 15call :pass loopwave 16call :pass testatomic 17call :pass testaudioinfo 18call :pass testautomation 19call :pass testdraw2 20call :pass testerror 21call :pass testfile 22call :pass testgamecontroller 23call :pass testgesture 24call :pass testgl2 25call :pass testgles 26call :pass testhaptic 27call :pass testiconv 28call :pass testime 29call :pass testintersection 30call :pass testjoystick 31call :pass testkeys 32::call :pass testloadso 33call :pass testlock 34call :pass testmessage 35call :pass testmultiaudio 36call :pass testnative 37call :pass testoverlay2 38call :pass testplatform 39call :pass testpower 40call :pass testrelative 41call :pass testrendercopyex 42call :pass testrendertarget 43::call :pass testresample 44call :pass testrumble 45call :pass testscale 46call :pass testsem 0 47call :pass testshader 48call :pass testshape "../../../../../../test/sample.bmp" 49call :pass testsprite2 50call :pass testspriteminimal 51call :pass teststreaming 52call :pass testthread 53call :pass testtimer 54call :pass testver 55call :pass testwm2 56call :pass torturethread 57 58:: leave the tests directory 59cd .. 60 61:: exit batch 62goto :eof 63 64:: pass label (similar to pass function in the Xcode tests command script) 65:pass 66:: if it does not exist, break procedure 67if not exist %1\Win32\Debug goto endfunc 68:: goto directory 69echo Running SDL VS2010 %1 with premake SDL2.dll... 70title Running SDL VS2010 %1 with premake SDL2.dll... 71cd %1\Win32\Debug 72:: remove old SDL2.dll 73rm SDL2.dll 74:: copy new SDL2.dll (~dp0 is get directory of current location of batch file) 75copy %~dp0\..\SDL2\Win32\Debug\SDL2.dll .\SDL2.dll 76:: execute test 77".\%1.exe" %2 78cd ..\..\.. 79pause 80:endfunc 81goto :eof