Anonymous Maarten
|
4bf650d488
|
Fix -Wundef warnings due to use of unguarded __IOS__
|
2023-03-28 19:29:43 +02:00 |
|
Anonymous Maarten
|
d63f69c3b0
|
Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_UIKIT
|
2023-03-28 19:29:42 +02:00 |
|
Anonymous Maarten
|
f14fe3f9aa
|
Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_COCOA
|
2023-03-28 19:29:42 +02:00 |
|
Anonymous Maarten
|
915d3159cf
|
Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_ANDROID
|
2023-03-28 19:29:42 +02:00 |
|
Anonymous Maarten
|
7f68915681
|
Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_WINDOWS
|
2023-03-28 19:29:42 +02:00 |
|
Anonymous Maarten
|
11c70406c3
|
testautomation_audio: fix -Wimplicit-fallthrough warning
|
2023-03-28 16:59:27 +00:00 |
|
Anonymous Maarten
|
e1b8a03239
|
testsurround: fix channel names
Used table in include/SDL3/SDL_audio.h as reference.
|
2023-03-28 16:59:27 +00:00 |
|
Anonymous Maarten
|
cb076b83ff
|
cmake: fix testnative for Macos
|
2023-03-28 04:01:50 +02:00 |
|
Anonymous Maarten
|
1259a60731
|
cmake: build tests as library on Android
|
2023-03-28 01:30:55 +02:00 |
|
Anonymous Maarten
|
b8b852a55b
|
cmake: testnative can also be built on non-Linux
|
2023-03-28 00:43:54 +02:00 |
|
Sylvain
|
d3faec0b6e
|
testcommon/automation: add [--audio driver] option
allow to use --audio --video --renderer for testautomation
|
2023-03-27 10:23:18 +02:00 |
|
Anonymous Maarten
|
b0a5182e84
|
Sunset SDL_HasRDTSC
|
2023-03-27 06:12:49 +00:00 |
|
Anonymous Maarten
|
46f5c1fe6a
|
Move and rename SDL_rdtsc macro to testautomation
|
2023-03-27 06:12:49 +00:00 |
|
Anonymous Maarten
|
d392ce516a
|
testautomation_math: avoid equality tests with INFINITY
Fixes this warning:
warning: comparison with infinity always evaluates to false in fast floating point modes [-Wtautological-constant-compare]
|
2023-03-27 06:12:49 +00:00 |
|
Anonymous Maarten
|
e2f51bf38e
|
SDL_intrin.h: add SDL_rdtsc macro
|
2023-03-27 06:12:49 +00:00 |
|
capehill
|
b8c88cc584
|
testgles2_sdf: Call correct function to get shader info log
|
2023-03-26 22:29:49 +02:00 |
|
capehill
|
d5fac067cd
|
testdisplayinfo: use correct index variable
|
2023-03-26 21:14:18 +02:00 |
|
Sylvain
|
693558a894
|
testautomation_video: fix memory leak
|
2023-03-24 09:52:05 +01:00 |
|
Sylvain
|
3ccfd361cb
|
Fix video_getSetWindowPosition() that fail when checking events,
because testautomation_events.c() didn't finish to poll all events before
|
2023-03-24 09:52:05 +01:00 |
|
Sylvain
|
5976b79c1c
|
testautomation: create no window, so that testautomation_mouse.c::mouse_getMouseFocus() pass
(more precisely, the last test, when the window is destroyed, focus window should report null)
|
2023-03-24 09:52:05 +01:00 |
|
Sylvain
|
f30a182de2
|
Fix video_getSetWindowGrab(): need to raise the window, and wait for focus gained
|
2023-03-24 09:52:05 +01:00 |
|
Sylvain
|
d4d26e0ddb
|
testautomation_video: if SDL_SetWindowSize/Position isn't honored, we should check there is an event
x11: send the events if various occasions
|
2023-03-24 09:52:05 +01:00 |
|
Anonymous Maarten
|
c30903882b
|
cmake+tests: include SDL_build_config.h in select tests + add include paths
|
2023-03-21 23:03:02 +03:00 |
|
Ozkan Sezer
|
262b13431d
|
testautomation_intrinsics.c (sse2): change _mm_store_pd to _mm_storeu_pd
fixes segmentation faults
|
2023-03-21 23:03:02 +03:00 |
|
Ozkan Sezer
|
7a54d363cf
|
testautomation_intrinsics.c: correct call to check SSE4.1 presence.
|
2023-03-21 23:03:02 +03:00 |
|
Ozkan Sezer
|
6c9780720b
|
cmake: added configuration options for AVX2, AVX512F, SSE4.1, and SSE4.2
adjusted SDL_intrin.h and testautomation_intrinsics.c accordingly.
|
2023-03-21 23:03:02 +03:00 |
|
Anonymous Maarten
|
5775d5e112
|
Add intrinsics test automation
|
2023-03-21 23:03:02 +03:00 |
|
Anonymous Maarten
|
81ca9d61d6
|
cmake+test: add more automated tests + use properties
|
2023-03-21 02:19:19 +01:00 |
|
Anonymous Maarten
|
115460a930
|
torturethread: sleep a bit in SubThreadFunc to avoid starvation
testtorture, built by MinGW from msys2, got blocked indefinitely.
|
2023-03-21 02:19:19 +01:00 |
|
Anonymous Maarten
|
6a9c692bb9
|
testsem: don't re-parse positional argument twice
|
2023-03-21 02:19:19 +01:00 |
|
Anonymous Maarten
|
4a6528e3f0
|
testprograms: parse arguments using SDLTest_CommonState
|
2023-03-17 17:54:16 +01:00 |
|
Anonymous Maarten
|
8bea41f737
|
testthread: parse arguments using SDLTest_CommonState + add arguments
|
2023-03-17 17:54:16 +01:00 |
|
Anonymous Maarten
|
64b739bc1e
|
testlock: parse arguments using SDLTest_CommonState + extra arguments
|
2023-03-17 17:54:16 +01:00 |
|
Anonymous Maarten
|
4d86a83fa9
|
testver: don't allow any arguments
|
2023-03-17 17:54:16 +01:00 |
|
Anonymous Maarten
|
0268881e30
|
testspriteminimal: don't allow any arguments
|
2023-03-17 17:54:16 +01:00 |
|
Anonymous Maarten
|
08d5235da0
|
testintersections: check integer argument + no global done + get final tick before SDL shutdown
|
2023-03-17 17:54:16 +01:00 |
|
Anonymous Maarten
|
6e2851878f
|
testhittesting: use SDLTest_Common for creating window(s) and renderer(s)
|
2023-03-17 17:54:16 +01:00 |
|
Anonymous Maarten
|
75da730a88
|
testfile: fix reference values
|
2023-03-17 17:54:16 +01:00 |
|
Anonymous Maarten
|
ee13b74d59
|
testyuv: fix buffer overflow write
|
2023-03-17 17:54:16 +01:00 |
|
Sylvain
|
4286f463a8
|
testautomation_pixels: calling SDL_DestroyPixelFormat or SDL_DestroyPalette with NULL parameter doesn't generate an error
|
2023-03-17 10:28:54 +01:00 |
|
Sam Lantinga
|
e6fe7273a5
|
Toggle menu visibility with the space bar
|
2023-03-16 11:24:21 -07:00 |
|
Sam Lantinga
|
422517c036
|
Allow passing 0 to SDL_SetWindowMinimumSize() and SDL_SetWindowMaximumSize() to indicate no limit
|
2023-03-15 16:13:56 -07:00 |
|
Sam Lantinga
|
d95b04feaf
|
Fixed display ID check in video_setWindowCenteredOnDisplay
|
2023-03-15 16:12:54 -07:00 |
|
Sylvain
|
4312abab69
|
testprogram: add option to use SDL_BLENDMODE_MUL
|
2023-03-15 22:00:13 +01:00 |
|
Sam Lantinga
|
b07a049923
|
Fixed window positioning in testpopup
|
2023-03-15 10:35:26 -07:00 |
|
Sam Lantinga
|
e794057d9f
|
Move the popup windows to follow the mouse
|
2023-03-15 10:19:55 -07:00 |
|
Anonymous Maarten
|
684709a5b6
|
cmake: fix building testautomation without X11 support
|
2023-03-15 14:54:20 +01:00 |
|
Anonymous Maarten
|
64e242fd77
|
cmake: Add test resources to list of files to clean
|
2023-03-15 14:54:20 +01:00 |
|
Sylvain
|
f1d9c36136
|
testshape: now uses SDL_WINDOW_TRANSPARENT instead of the shaped window API
|
2023-03-13 21:23:04 +01:00 |
|
Sylvain
|
2cafa52598
|
- Added SDL_WINDOW_TRANSPARENT to request a window with transparent framebuffer
- Remove SDL_VIDEO_EGL_ALLOW_TRANSPARENCY hint, EGL now checks 'window->flags & SDL_WINDOW_TRANSPARENT'
|
2023-03-13 21:23:04 +01:00 |
|