mirror of https://github.com/axmolengine/axmol.git
29 lines
693 B
Batchfile
29 lines
693 B
Batchfile
|
echo./*
|
||
|
echo.* Run cocos2d-win32 tests.exe
|
||
|
echo.*/
|
||
|
echo.
|
||
|
|
||
|
set qtpproj=%cd%
|
||
|
cd ..\..\..\..\
|
||
|
|
||
|
"%VS100COMNTOOLS%..\IDE\devenv.com" "%WORKSPACE%\cocos2d-win32.vc2010.sln" /Build "Debug|Win32"
|
||
|
|
||
|
set CC_TEST_BIN=TestCpp.exe
|
||
|
|
||
|
set CC_TEST_RES=%cd%\samples\TestCpp\Resources\*.*
|
||
|
set CC_HELLOWORLD_RES=%cd%\samples\HelloCpp\Resources\*.*
|
||
|
set CC_HELLOLUA_RES=%cd%\samples\HelloLua\Resources\*.*
|
||
|
set CC_TESTJS_RES=%cd%\samples\TestJavascript\Resources\*.*
|
||
|
|
||
|
cd Debug.win32
|
||
|
|
||
|
xcopy /E /Y /Q "%CC_TEST_RES%" .
|
||
|
xcopy /E /Y /Q "%CC_HELLOWORLD_RES%" .
|
||
|
xcopy /E /Y /Q "%CC_HELLOLUA_RES%" .
|
||
|
xcopy /E /Y /Q "%CC_TESTJS_RES%" .
|
||
|
|
||
|
cd ..
|
||
|
cd %qtpproj%\qtp_win32
|
||
|
cscript qtrunner.vbs
|
||
|
|
||
|
pause
|