1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-07 16:56:00 +02:00

Tiny ReleaseNoRT test

This commit is contained in:
Brian Fiete 2024-03-16 11:22:03 -04:00
parent dea665055e
commit 7656d94ff5
4 changed files with 43 additions and 2 deletions

View file

@ -46,6 +46,20 @@ if %size% GTR 16000 (
goto :HADERROR
)
@ECHO Building Tiny NoRT
bin\RunWithStats IDE\dist\BeefBuild -proddir=IDE\Tests\Tiny -clean -config=ReleaseNoRT
set size=0
FOR /F "usebackq" %%A IN ('IDE\Tests\Tiny\build\ReleaseNoRT_Win64\Tiny\Tiny.exe') DO set size=%%~zA
echo Tiny executable size: %size% (expected 5120, max 7000)
if %size% LSS 1000 (
echo TINY executable not found?
goto :HADERROR
)
if %size% GTR 7000 (
echo TINY executable is too large!
goto :HADERROR
)
@ECHO Building BeefIDE_d with BeefBuild_d
bin\RunAndWait IDE\dist\BeefPerf.exe -cmd="Nop()"
@IF %ERRORLEVEL% NEQ 0 GOTO FAILPERF_START