fix autotests

main
Dominik Madarász 2024-08-24 10:40:53 +02:00
parent a4dc5c0b92
commit f95ba53ed1
4 changed files with 7 additions and 6 deletions

View File

@ -31,6 +31,7 @@ if "%1"=="help" (
echo %0 [tidy] ; clean up temp files echo %0 [tidy] ; clean up temp files
echo %0 [bind] ; generate lua bindings echo %0 [bind] ; generate lua bindings
echo %0 [checkmem] ; check untracked allocators in V4K echo %0 [checkmem] ; check untracked allocators in V4K
echo %0 [test] ; run autotests
echo %0 [todo] ; check for @fixme and @todo echo %0 [todo] ; check for @fixme and @todo
echo %0 [leak] ; check for @leak echo %0 [leak] ; check for @leak
echo %0 [v4web] ; sync v4 website echo %0 [v4web] ; sync v4 website
@ -302,6 +303,12 @@ if "%1"=="fuse" (
exit /b exit /b
) )
rem run autotests
if "%1"=="test" (
call TEST.bat
exit /b %errorlevel%
)
rem check memory api calls rem check memory api calls
if "%1"=="checkmem" ( if "%1"=="checkmem" (
findstr /RNC:"[^_xv]realloc[(]" engine\split\v4k* findstr /RNC:"[^_xv]realloc[(]" engine\split\v4k*

View File

@ -391851,12 +391851,10 @@ bool window_create_from_handle(void *handle, float scale, unsigned flags) {
flags |= WINDOW_BORDERLESS; flags |= WINDOW_BORDERLESS;
} }
/*
if (tests_captureframes()) { if (tests_captureframes()) {
winWidth = 1280; winWidth = 1280;
winHeight = 720; winHeight = 720;
} }
*/
window_hints(flags); window_hints(flags);

View File

@ -304,12 +304,10 @@ bool window_create_from_handle(void *handle, float scale, unsigned flags) {
flags |= WINDOW_BORDERLESS; flags |= WINDOW_BORDERLESS;
} }
/*
if (tests_captureframes()) { if (tests_captureframes()) {
winWidth = 1280; winWidth = 1280;
winHeight = 720; winHeight = 720;
} }
*/
window_hints(flags); window_hints(flags);

View File

@ -27010,12 +27010,10 @@ bool window_create_from_handle(void *handle, float scale, unsigned flags) {
flags |= WINDOW_BORDERLESS; flags |= WINDOW_BORDERLESS;
} }
/*
if (tests_captureframes()) { if (tests_captureframes()) {
winWidth = 1280; winWidth = 1280;
winHeight = 720; winHeight = 720;
} }
*/
window_hints(flags); window_hints(flags);