SDL/test
Pino Toscano 171885010d Add GNU/Hurd as platform
SDL has been building on GNU/Hurd for a long time, using either drivers
based on external libraries (e.g. X11, pulseaudio, sndio, etc) or dummy
drivers. This commit introduces it explicitly as platform, so it can be
recognized, and tweaked as needed. In particular:
- introduce the SDL_PLATFORM_HURD define
- tighten/improve the platform detection in cmake, and use "Hurd" as
  identifier
- return the platform name in SDL_GetPlatform()
- tweak the CFLAGS/LDFLAGS so pthreads can be used properly
- implement SDL_GetExeName(), using /proc/self/exe as provided by the
  basic Linux-like procfs
- enable GLES 2 in tests (mostly for consistency with Linux)
2025-08-08 12:47:09 -07:00
..
android android: reduce visiblity as much as possible 2025-03-19 23:36:08 +01:00
emscripten emscripten: pass --no-sandbox to the chrome web driver 2025-01-22 02:48:32 +01:00
n3ds N3DS port (squashed) 2022-10-10 08:50:59 -07:00
testgpu GPU: Remove D3D11 shaders from testgpu_spinning_cube 2024-11-12 17:32:25 -08:00
win32 sdlprocdump: fix minidump filename 2024-08-30 14:18:03 +02:00
audiofile.bmp test: Added testaudio 2023-08-02 15:02:32 -04:00
build-shaders.sh Added an example of fullscreen shader effects with the GPU renderer 2025-03-14 09:26:30 -07:00
checkkeys.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
childprocess.c [Process API] Quoting enhancements (#12946) 2025-05-12 09:17:21 -07:00
CMakeLists.txt test: Fix resource paths in testtray 2025-06-22 21:03:37 -07:00
COPYING
gamepad_axis.bmp Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_axis.h Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_axis_arrow.bmp Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_axis_arrow.h Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_back.bmp Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_back.h Reduced the size of the gamepad front and back images 2023-07-11 10:20:08 -07:00
gamepad_battery.bmp Separate joystick power state into battery status and percentage 2024-04-01 13:59:00 -07:00
gamepad_battery.h Fixed crashes when a window has NULL driverdata 2024-04-15 10:15:10 -07:00
gamepad_battery_unknown.bmp Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_battery_unknown.h Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_battery_wired.bmp Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_battery_wired.h Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_button.bmp Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_button.h Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_button_background.bmp Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_button_background.h Added button background 2023-07-11 10:26:22 -07:00
gamepad_button_small.bmp Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_button_small.h Added joystick and gamepad element display in testgamepad 2023-07-10 17:06:42 -07:00
gamepad_face_abxy.bmp Use light text for button labels so they show up well over the activity highlight 2023-07-16 04:32:12 -07:00
gamepad_face_abxy.h Use light text for button labels so they show up well over the activity highlight 2023-07-16 04:32:12 -07:00
gamepad_face_axby.bmp tests: c90 fixes (#endif comments) for consistency after commit 9e37839 2025-08-01 06:28:02 +03:00
gamepad_face_axby.h Added SDL_GAMEPAD_TYPE_GAMECUBE 2025-04-27 11:01:50 -07:00
gamepad_face_bayx.bmp Use light text for button labels so they show up well over the activity highlight 2023-07-16 04:32:12 -07:00
gamepad_face_bayx.h Use light text for button labels so they show up well over the activity highlight 2023-07-16 04:32:12 -07:00
gamepad_face_sony.bmp Use light text for button labels so they show up well over the activity highlight 2023-07-16 04:32:12 -07:00
gamepad_face_sony.h Use light text for button labels so they show up well over the activity highlight 2023-07-16 04:32:12 -07:00
gamepad_front.bmp Use light text for button labels so they show up well over the activity highlight 2023-07-16 04:32:12 -07:00
gamepad_front.h Use light text for button labels so they show up well over the activity highlight 2023-07-16 04:32:12 -07:00
gamepad_touchpad.bmp Added gamepad BMP files used as sources for the header files 2023-07-16 04:32:12 -07:00
gamepad_touchpad.h Added touchpad visualization for testgamepad 2023-07-10 11:36:32 -07:00
gamepad_wired.bmp testcontroller: show gamepad connection state 2024-12-27 13:58:49 -08:00
gamepad_wired.h testcontroller: show gamepad connection state 2024-12-27 13:58:49 -08:00
gamepad_wireless.bmp testcontroller: show gamepad connection state 2024-12-27 13:58:49 -08:00
gamepad_wireless.h testcontroller: show gamepad connection state 2024-12-27 13:58:49 -08:00
gamepadutils.c A little more tidying. Better notes around how the absolute maximum threshold was arrived at. 2025-07-22 12:59:47 -07:00
gamepadutils.h Add a few include guards to private headers 2025-08-01 02:00:08 +02:00
glass.bmp Re-added a simplified version of SDL_SetWindowShape() 2024-02-09 16:04:46 -08:00
glass.h Re-added a simplified version of SDL_SetWindowShape() 2024-02-09 16:04:46 -08:00
icon.bmp
icon.h testspriteminimal: make standalone by embedding icon.bmp 2023-09-19 17:58:25 +02:00
icon2x.bmp Added support for high-DPI cursors and icons 2024-08-01 13:48:28 -07:00
LICENSE.txt Updated copyright for 2025 2025-01-01 07:45:52 -08:00
logaudiodev.bmp test: Added testaudio 2023-08-02 15:02:32 -04:00
loopwave.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
main.cpp Make WinRT's SDL_main header-only 2022-12-15 08:01:01 -08:00
moose.dat
msdf_font.bmp test/msdf_font.bmp: mark as non-executable. 2025-04-26 02:39:20 +03:00
msdf_font.csv windows: Fix stale zoom/iconic state in WM_WINDOWPOSCHANGED handler 2025-04-25 16:21:44 -07:00
physaudiodev.bmp test: Added testaudio 2023-08-02 15:02:32 -04:00
picture.xbm
pretest.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
relative_mode.markdown Removed SDL_bool in favor of plain bool 2024-09-18 08:32:30 -07:00
sample.bmp
sample.wav
sdl-test_round.bmp Add system tray support (#10873) 2024-12-24 10:36:39 -08:00
soundboard.bmp testaudio: Fixed soundboard icon, which had a colorkey issue. 2023-08-03 21:35:38 -04:00
soundboard_levels.bmp test: Added testaudio 2023-08-02 15:02:32 -04:00
speaker.bmp test: Added testaudio 2023-08-02 15:02:32 -04:00
sword.wav examples/audio/04-multiple-streams: Remove drag-and-drop support. 2024-12-10 23:10:43 -05:00
template.test.in build: Fix testprocess invocation during "as-installed" tests 2024-09-25 14:48:26 -07:00
testasyncio.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testatomic.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testaudio.c testaudio: Use SDL_SetAppMetadata at startup. 2025-04-25 13:03:09 -04:00
testaudiohotplug.c Remove redundant casts 2025-02-21 10:09:10 -08:00
testaudioinfo.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testaudiorecording.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testaudiostreamdynamicresample.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testautomation.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testautomation_audio.c test/testautomation_audio.c: Free variables before returning 2025-02-16 16:57:56 -08:00
testautomation_blit.c Adding void to empty function prototype parenthesis 2024-09-11 19:44:52 -07:00
testautomation_clipboard.c clipboard: Ensure SDL_ClearClipboardData clears data even when no data has been set 2025-01-02 07:23:27 -08:00
testautomation_events.c Wake the main thread for main function dispatch 2025-02-25 12:50:41 -08:00
testautomation_guid.c SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
testautomation_hints.c tests: port failing SDL_Hint tests from pysdl2 to testautomation 2025-04-01 21:31:10 +02:00
testautomation_images.c Added test and test image for clamped texture address mode to render testautomation 2025-07-21 10:21:31 -07:00
testautomation_images.h tests: c90 fixes (#endif comments) for consistency after commit 9e37839 2025-08-01 06:28:02 +03:00
testautomation_intrinsics.c test/testautomation_intrinsics.c: Free variables before returning 2025-02-16 07:50:07 -08:00
testautomation_iostream.c Add POINTER suffix to SDL_PROP_IOSTREAM_MEMORY_FREE_FUNC 2025-07-21 10:15:46 -07:00
testautomation_joystick.c Added the gamepad hint SDL_GAMECONTROLLER_USE_GAMECUBE_LABELS 2025-05-01 10:54:16 -07:00
testautomation_keyboard.c testautomation keyboard: use space instead of a 2024-11-08 07:01:50 -08:00
testautomation_log.c Added SDL_LogTrace() 2024-09-17 02:04:54 -07:00
testautomation_main.c tests: include SDL_build_config.h when HAVE_BUILD_CONFIG is defined 2024-12-29 20:08:06 +01:00
testautomation_math.c Removed SDL_bool in favor of plain bool 2024-09-18 08:32:30 -07:00
testautomation_mouse.c test: Fix mouse focus test on X11 2024-10-10 11:37:45 -04:00
testautomation_pixels.c Fix testautomation pixels_saveLoadBMP big endian issue 2024-12-22 12:08:54 -08:00
testautomation_platform.c Removed SDL_bool in favor of plain bool 2024-09-18 08:32:30 -07:00
testautomation_properties.c Removed SDL_bool in favor of plain bool 2024-09-18 08:32:30 -07:00
testautomation_rect.c tests: port failing SDL_Rect tests from pysdl2 to testautomation 2025-04-01 21:31:10 +02:00
testautomation_render.c Added test and test image for clamped texture address mode to render testautomation 2025-07-21 10:21:31 -07:00
testautomation_sdltest.c fix integer overflow ub in testautomation_sdltest 2025-01-06 13:18:03 -05:00
testautomation_stdlib.c Fixed sscanf("026", "%1x%1x%1x", &r, &g, &b) 2025-03-10 14:45:08 -07:00
testautomation_subsystems.c Verify that the subsystems were successfully initialized 2024-09-15 12:04:10 -07:00
testautomation_suites.h pen: Rework public API. 2024-08-09 22:09:23 -04:00
testautomation_surface.c Fix SDL_BlitSurfaceScaled crash 2025-08-01 09:22:20 -07:00
testautomation_time.c Removed SDL_bool in favor of plain bool 2024-09-18 08:32:30 -07:00
testautomation_timer.c Removed SDL_bool in favor of plain bool 2024-09-18 08:32:30 -07:00
testautomation_video.c tests: port failing window test from pysdl2 to testautomation 2025-04-01 21:31:10 +02:00
testbounds.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testcamera.c testcamera: SDL_AppQuit destroys state and SDL 2025-02-21 23:04:13 -08:00
testclipboard.c tests: Add showing/setting the primary selection text to testclipboard 2025-02-27 12:35:37 -05:00
testcolorspace.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testcontroller.c Fixed a few "-Wstrict-prototypes" warnings 2025-07-26 11:12:40 -07:00
testcustomcursor.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testdialog.c dialog: Cocoa shouldn't crash if there's a '.' in the filters. 2025-05-01 18:11:36 -04:00
testdisplayinfo.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testdraw.c Remove redundant casts 2025-02-21 10:09:10 -08:00
testdrawchessboard.c Remove redundant casts 2025-02-21 10:09:10 -08:00
testdropfile.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testerror.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testevdev.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testffmpeg.c tests: c90 fixes (#endif comments) for consistency after commit 9e37839 2025-08-01 06:28:02 +03:00
testffmpeg_vulkan.c tests: c90 fixes (#endif comments) for consistency after commit 9e37839 2025-08-01 06:28:02 +03:00
testffmpeg_vulkan.h Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testfile.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testfilesystem.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testgeometry.c Removed width/height parameters from LoadTexture() 2025-03-14 11:38:13 -07:00
testgl.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testgles.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testgles2.c Add GNU/Hurd as platform 2025-08-08 12:47:09 -07:00
testgpu_simple_clear.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testgpu_spinning_cube.c Add 'const' to pointer parameters 2025-02-21 15:59:40 -08:00
testgpurender_effects.c Add SDL_CreateGPURenderer 2025-04-07 09:26:03 -07:00
testgpurender_effects_CRT.frag.dxil.h Added an example of fullscreen shader effects with the GPU renderer 2025-03-14 09:26:30 -07:00
testgpurender_effects_CRT.frag.hlsl Added an example of fullscreen shader effects with the GPU renderer 2025-03-14 09:26:30 -07:00
testgpurender_effects_CRT.frag.msl.h Added an example of fullscreen shader effects with the GPU renderer 2025-03-14 09:26:30 -07:00
testgpurender_effects_CRT.frag.spv.h Added an example of fullscreen shader effects with the GPU renderer 2025-03-14 09:26:30 -07:00
testgpurender_effects_grayscale.frag.dxil.h Added an example of fullscreen shader effects with the GPU renderer 2025-03-14 09:26:30 -07:00
testgpurender_effects_grayscale.frag.hlsl Added an example of fullscreen shader effects with the GPU renderer 2025-03-14 09:26:30 -07:00
testgpurender_effects_grayscale.frag.msl.h Added an example of fullscreen shader effects with the GPU renderer 2025-03-14 09:26:30 -07:00
testgpurender_effects_grayscale.frag.spv.h Added an example of fullscreen shader effects with the GPU renderer 2025-03-14 09:26:30 -07:00
testgpurender_msdf.c Removed width/height parameters from LoadTexture() 2025-03-14 11:38:13 -07:00
testgpurender_msdf.frag.dxil.h Added support for custom shaders with the GPU renderer 2025-03-14 09:26:30 -07:00
testgpurender_msdf.frag.hlsl Added support for custom shaders with the GPU renderer 2025-03-14 09:26:30 -07:00
testgpurender_msdf.frag.msl.h Added support for custom shaders with the GPU renderer 2025-03-14 09:26:30 -07:00
testgpurender_msdf.frag.spv.h Added support for custom shaders with the GPU renderer 2025-03-14 09:26:30 -07:00
testhaptic.c Add and use SDL_HapticEffectID typedef 2025-04-24 08:51:55 -07:00
testhittesting.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testhotplug.c testhotplug+testmouse: exit when pressing ESC key 2025-07-03 02:21:51 +02:00
testiconv.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testime.c Removed width/height parameters from LoadTexture() 2025-03-14 11:38:13 -07:00
testintersections.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testkeys.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testloadso.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testlocale.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testlock.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testmanymouse.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testmessage.c Restyle message boxes and add icon support to them on X11. (#13267) 2025-07-28 09:23:38 -07:00
testmodal.c test: Fix a window parenting bug in testmodal 2025-06-18 09:26:09 -04:00
testmouse.c testhotplug+testmouse: exit when pressing ESC key 2025-07-03 02:21:51 +02:00
testmultiaudio.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testnative.c Removed width/height parameters from LoadTexture() 2025-03-14 11:38:13 -07:00
testnative.h Fix testnative C90 compatibility 2025-08-01 02:27:54 +02:00
testnativecocoa.m fixed typo in prev. patch. 2023-07-28 07:35:04 +03:00
testnativew32.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testnativewayland.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testnativex11.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testoffscreen.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testoverlay.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testpen.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testplatform.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testpopup.c Add support for non-constrained and non-grabbing popups 2025-04-29 12:02:14 -04:00
testpower.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testprocess.c [Process API] Quoting enhancements (#12946) 2025-05-12 09:17:21 -07:00
testqsort.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testrelative.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testrendercopyex.c Removed width/height parameters from LoadTexture() 2025-03-14 11:38:13 -07:00
testrendertarget.c Removed width/height parameters from LoadTexture() 2025-03-14 11:38:13 -07:00
testresample.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testrumble.c Remove even more newlines from log messages 2025-01-23 09:32:50 -08:00
testrwlock.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testscale.c Removed width/height parameters from LoadTexture() 2025-03-14 11:38:13 -07:00
testsem.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testsensor.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testshader.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testshape.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testsprite.c Removed width/height parameters from LoadTexture() 2025-03-14 11:38:13 -07:00
testspriteminimal.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testspritesurface.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
teststreaming.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testsurround.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testthread.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testtime.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testtimer.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testtray.c test: Fix resource paths in testtray 2025-06-22 21:03:37 -07:00
testurl.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testutils.c Removed width/height parameters from LoadTexture() 2025-03-14 11:38:13 -07:00
testutils.h Removed width/height parameters from LoadTexture() 2025-03-14 11:38:13 -07:00
testver.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testviewport.c Removed width/height parameters from LoadTexture() 2025-03-14 11:38:13 -07:00
testvulkan.c Remove even more newlines from log messages 2025-01-23 09:32:50 -08:00
testwaylandcustom.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testwm.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testyuv.bmp
testyuv.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
testyuv_cvt.c Updated copyright for 2025 2025-01-01 07:45:52 -08:00
testyuv_cvt.h Add a few include guards to private headers 2025-08-01 02:00:08 +02:00
torturethread.c Remove newlines from log messages 2025-01-22 20:25:04 -08:00
trashcan.bmp test: Added testaudio 2023-08-02 15:02:32 -04:00
unifont-15.1.05-license.txt Updated unifont to version 15.1.05 2024-06-27 17:43:03 -07:00
unifont-15.1.05.hex Updated unifont to version 15.1.05 2024-06-27 17:43:03 -07:00
utf8.txt