mirror of
https://github.com/vxcontrol/MemoryModule.git
synced 2026-07-21 14:16:03 -04:00
Also build and run testsuite on cmake CI tests.
This commit is contained in:
@@ -13,7 +13,7 @@ if /I "%PLATFORM%" == "x64" (
|
||||
|
||||
echo.
|
||||
echo Preparing %CONFIGURATION% build environment for %GENERATOR%%CMAKE_GEN_SUFFIX% ...
|
||||
cmake "-G%GENERATOR%%CMAKE_GEN_SUFFIX%" -DPLATFORM=%PLATFORM% -DUNICODE=%UNICODE% -H. -Bbuild
|
||||
cmake "-G%GENERATOR%%CMAKE_GEN_SUFFIX%" -DPLATFORM=%PLATFORM% -DUNICODE=%UNICODE% -DTESTSUITE=ON -H. -Bbuild
|
||||
if %errorlevel% neq 0 exit /b %errorlevel%
|
||||
|
||||
echo.
|
||||
@@ -26,6 +26,7 @@ echo Copying generated files ...
|
||||
copy /y build\example\DllLoader\%CONFIGURATION%\DllLoader.exe build\example\DllLoader\ > NUL
|
||||
copy /y build\example\DllLoader\%CONFIGURATION%\DllLoaderLoader.exe build\example\DllLoader\ > NUL
|
||||
copy /y build\example\SampleDLL\%CONFIGURATION%\SampleDLL.dll build\example\SampleDLL\ > NUL
|
||||
copy /y build\tests\%CONFIGURATION%\TestSuite.exe build\tests\ > NUL
|
||||
|
||||
cd build\example\DllLoader
|
||||
|
||||
@@ -38,3 +39,10 @@ echo.
|
||||
echo Running DllLoaderLoader.exe ...
|
||||
DllLoaderLoader.exe
|
||||
if %errorlevel% neq 0 exit /b %errorlevel%
|
||||
|
||||
cd ..\..\tests
|
||||
|
||||
echo.
|
||||
echo Running TestSuite.exe ...
|
||||
TestSuite.exe
|
||||
if %errorlevel% neq 0 exit /b %errorlevel%
|
||||
|
||||
Reference in New Issue
Block a user