SDL/test
Anonymous Maarten 3472dc11d6
Fix uses of undefined macro identifiers (-Wundef)
* Fix -Wundef warnings due to use of unguarded SDL_LOADSO_DISABLED

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_WINDOWS

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_ANDROID

* Fix -Wundef warnings due to use of unguarded SDL_LOADSO_DUMMY

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_COCOA

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_UIKIT

* Fix -Wundef warnings due to use of unguarded SDL_TIMERS_DISABLED

* Fix -Wundef warnings due to use of unguarded SDL_EVENTS_DISABLED

* Fix -Wundef warnings due to use of unguarded SDL_TIMER_DUMMY

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DISABLED

* Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DISABLED

* Fix -Wundef warnings due to use of unguarded SDL_JOYSTICK_DISABLED

* Fix -Wundef warnings due to use of unguarded SDL_HAPTIC_DISABLED

* Fix -Wundef warnings due to use of unguarded SDL_SENSOR_DISABLED

* Fix -Wundef warnings due to use of unguarded __ANDROID__

* Fix -Wundef warnings due to use of unguarded __IOS__

* Fix -Wundef warnings due to use of unguarded EMULATE_CAS

* Fix -Wundef warnings due to use of unguarded SDL_ATOMIC_DISABLED

* Fix -Wundef warnings due to use of unguarded SDL_THREADS_DISABLED

* Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_SNDIO

* Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_NETBSD

* Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_WASAPI

* Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_DSOUND

* Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_HAIKU

* Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_COREAUDIO

* Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_AAUDIO

* Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_OPENSLES

* Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_ANDROID

* Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_PS2

* Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_PSP

* Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_VITA

* Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_N3DS

* Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_EMSCRIPTEN

* Fix -Wundef warnings due to use of unguarded SDL_NEON_INTRINSICS

* Fix -Wundef warnings due to use of unguarded SDL_ALTIVEC_BLITTERS

* Fix -Wundef warnings due to use of unguarded __VITA__

* Fix -Wundef warnings due to use of unguarded __3DS__

* Fix -Wundef warnings due to use of unguarded SDL_DYNAPI_PROC_NO_VARARGS

* Fix -Wundef warnings due to use of unguarded __APPLE__

* Fix -Wundef warnings due to use of unguarded __WINRT__

* Fix -Wundef warnings due to use of unguarded SDL_HIDAPI_DISABLED

* Fix -Wundef warnings due to use of unguarded __TVOS__

* Fix -Wundef warnings due to use of unguarded HAVE_DRIVER_BACKEND

* Fix -Wundef warnings due to use of unguarded SDL_JOYSTICK_XINPUT

* Fix -Wundef warnings due to use of unguarded SDL_JOYSTICK_WGI

* Fix -Wundef warnings due to use of unguarded SDL_JOYSTICK_DINPUT

* Fix -Wundef warnings due to use of unguarded SDL_JOYSTICK_MFI

* Fix -Wundef warnings due to use of unguarded SDL_JOYSTICK_EMSCRIPTEN

* Fix -Wundef warnings due to use of unguarded SDL_JOYSTICK_PS2

* Fix -Wundef warnings due to use of unguarded SDL_JOYSTICK_PSP

* Fix -Wundef warnings due to use of unguarded SDL_JOYSTICK_VITA

* Fix -Wundef warnings due to use of unguarded SDL_JOYSTICK_N3DS

* Fix -Wundef warnings due to use of unguarded __MACOS__

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_RENDER_D3D

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_WINRT

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_RPI

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_VITA_PVR_OGL

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_VIVANTE

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_RENDER_D3D11

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_RENDER_D3D12

* Fix -Wundef warnings due to use of unguarded SDL_RENDER_DISABLED

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_RENDER_METAL

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_RENDER_PS2

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_RENDER_PSP

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_RENDER_VITA_GXM

* Fix -Wundef warnings due to use of unguarded SDL_ARM_SIMD_BLITTERS

* Fix -Wundef warnings due to use of unguarded SDL_ARM_NEON_BLITTERS

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_HAIKU

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_PS2

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_PSP

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_VITA

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_N3DS

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_KMSDRM

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_RISCOS

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_EMSCRIPTEN

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_NGAGE

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_METAL

* Fix -Wundef warnings due to use of unguarded SDL_LSX_INTRINSICS

* Fix -Wundef warnings due to use of unguarded HAVE_PTHREAD_NP_H

* Fix -Wundef warnings due to use of unguarded __RISCOS__

* Fix -Wundef warnings due to use of unguarded FAKE_RECURSIVE_MUTEX

* Fix -Wundef warnings due to use of unguarded USE_POSIX_SPAWN

* textureData is only needed when SDL is built with YUV support

* Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_ALSA

* Fix -Wundef warnings due to use of unguarded SDL_SSE3_INTRINSICS

* Fix -Wundef warnings due to use of unguarded SDL_SSE4_2_INTRINSICS

* Fix -Wundef warnings due to use of unguarded SDL_SSE4_1_INTRINSICS

* Fix -Wundef warnings due to use of unguarded SDL_AVX512F_INTRINSICS

* Fix -Wundef warnings due to use of unguarded SDL_SSE2_INTRINSICS

* Fix -Wundef warnings due to use of unguarded SDL_AVX_INTRINSICS

* Fix -Wundef warnings due to use of unguarded SDL_AVX2_INTRINSICS

* Fix -Wundef warnings due to use of unguarded SDL_SSE_INTRINSICS

* Fix -Wundef warnings due to use of unguarded SDL_MMX_INTRINSICS

* Fix -Wundef warnings due to use of unguarded HAVE_CLOCK_GETTIME

* Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_DISK

* Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_DUMMY

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_DUMMY

* Fix -Wundef warnings due to use of unguarded HAVE_GCC_ATOMICS

* Fix -Wundef warnings due to use of unguarded HAVE_GCC_SYNC_LOCK_TEST_AND_SET

* Fix -Wundef warnings due to use of unguarded SDL_USE_LIBDBUS

* Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_JACK

* Fix -Wundef warnings due to use of unguarded SDL_JOYSTICK_VIRTUAL

* Fix -Wundef warnings due to use of unguarded SDL_JOYSTICK_LINUX

* Fix -Wundef warnings due to use of unguarded HAVE_LIBC

* Fix -Wundef warnings due to disabling SDL_LIBC

* Fix -Wundef warnings due to use of unguarded HAVE_PLATFORM_BACKEND

* Fix -Wundef warnings due to use of unguarded DEBUG

* Fix -Wundef warnings due to use of unguarded HAVE_LINUX_INPUT_H

* Fix -Werror=unused-variable when building with SDL_LIBC=OFF

* Fix -Wundef warnings due to use of unguqrded SDL_USE_LIBUDEV

* Use SDL alloc functions in libusb/hid.c

* Fix -Wundef warnings due to use of unguarded HAVE_LIBUDEV_H

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_VULKAN

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_OFFSCREEN

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_RENDER_OGL

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_OPENGL

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_OPENGL_GLX

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_OPENGL_ES

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_OPENGL_ES2

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_RENDER_OGL_ES2

* Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_OSS

* Remove SDL_AUDIO_DRIVER_SUNAUDIO reference since it is never set

* Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_PIPEWIRE

* Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_PULSEAUDIO

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_X11_XCURSOR

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_X11_XDBE

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_X11_XFIXES

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_X11_XINPUT2

* Fix -Wundef warnings due to use of unguarded #if SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH

* Fix -Wundef warnings due to use of unguarded #if SDL_VIDEO_DRIVER_X11_XRANDR

* Fix -Wundef warnings due to use of unguarded #if SDL_VIDEO_DRIVER_X11_XSCRNSAVER

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_X11_XSHAPE

* Don't call XShape functions when XShape is diabled

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_WAYLAND

* Fix -Wundef warnings due to use of unuarded SDL_VIDEO_DRIVER_X11

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_RISCOS

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_OPENGL_EGL

* Disable array when compiled with SDL_EVENTS=OFF

* Fix -Wundef warnings due to use of unguarded SDL_INPUT_LINUXEV

* Fix -Wundef warnings due to use of unguarded SDL_THREAD_PTHREAD

* Fix -Wundef warnings due to use of unguarded SDL_THREAD_WINDOWS

* Fix -Wundef warnings due to use of unguarded SDL_THREAD_PS2

* Fix -Wundef warnings due to use of unguarded SDL_THREAD_PSP

* Fix -Wundef warnings due to use of unguarded SDL_THREAD_VITA

* Fix -Wundef warnings due to use of unguarded SDL_THREAD_N3DS

* Fix -Wundef warnings due to use of unguarded SDL_THREAD_STDCPP

* Fix -Wundef warnings due to use of unguarded SDL_THREAD_NGAGE

* Fix -Wundef warnings due to use of unguarded __WINDOWS__

* Fix -Wundef warnings due to use of unguarded __WINGDK__

* Fix -Wundef warnings due to use of unguarded __ANDROID__

* Fix -Wundef warnings due to use of unguarded SDL_THREAD_GENERIC_COND_SUFFIX

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_VITA_PIB

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_VITA_PVR

* Fix -Wundef warnings due to use of unguarded SDL_FILE_DISABLED

* Fix -Wundef warnings due to use of unguarded __XBOXONE__

* Fix -Wundef warnings due to use of unguarded __XBOXSERIES__

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_OPENGL_WGL

* Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_QNX

* Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_DISK

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_QNX

* Fix -Wundef warnings due to use of unguarded DEBUG_RAZOR

* Fix -Wundef warnings due to use of unguarded WINAPI_FAMILY_PHONE_APP

* Fix -Wundef warnings due to use of unguarded SDL_MAC_NO_SANDBOX

* Fix -Wundef warnings due to use of unguarded __(IPHONE|APPLETV|MAC)_OS_VERSION_MAX_ALLOWED

* Fix C4090 warning ('function': different 'const' qualifiers)

* ci: use -isystem for include dirs of pspdev toolchain

* cmake: add -Wundef option

* Fix remaining -Wundef warnings due to use of unguarded SDL_VIDEO_VULKAN and SDL_VIDEO_METAL

* Fix -Wundef warnings due to use of unguarded __MACOS__

* DEBUG_CONVERT is guaranteed to be defined in src/audio/SDL_audiocvt.c

* Fix -Wundef warnings due to use of unguarded HAVE_NANOSLEEP

* Fix -Wundef warnings due to use of unguarded HAVE_DXGI_H

* Fix -Wundef warnings due to use of unguarded HAVE_LINUX_INPUT_H

* fix SDL_VIDEO_DRIVER_WAYLAND

* fix SDL_VIDEO_DRIVER_X11

* Fix -Wundef warnings due to use of unguarded HAVE_MMDEVICEAPI_H

* Fix -Wundef warnings due to use of unguarded HAVE_PTHREAD_SETNAME_NP

* Fix -Wundef warnings due to use of unguarded HAVE_PTHREAD_SET_NAME_NP

* Fix -Wundef warnings due to use of unguarded HAVE_SETJMP

* Fix -Wundef warnings due to use of unguarded HAVE_SIGNAL_H

* Fix -Wundef warnings due to use of unguarded HAVE_TPCSHRD_H

* Fix -Wundef warnings due to use of unguarded MACOSX_COREAUDIO

* Fix -Wundef warnings due to use of unguarded SDL_HAPTIC_DINPUT

* Fix -Wundef warnings due to use of unguarded SDL_HAPTIC_IOKIT

* Fix -Wundef warnings due to use of unguarded SDL_HAPTIC_XINPUT

* Fix -Wundef warnings due to use of unguarded SDL_IPHONE_KEYBOARD

* Fix -Wundef warnings due to use of unguarded SDL_JOYSTICK_RAWINPUT

* Fix -Wundef warnings due to use of unguarded SDL_POWER_ANDROID

* Fix -Wundef warnings due to use of unguarded SDL_POWER_EMSCRIPTEN

* Fix -Wundef warnings due to use of unguarded SDL_POWER_HAIKU

* Fix -Wundef warnings due to use of unguarded SDL_POWER_LINUX

* Fix -Wundef warnings due to use of unguarded SDL_POWER_MACOSX

* Fix -Wundef warnings due to use of unguarded SDL_POWER_PSP

* Fix -Wundef warnings due to use of unguarded SDL_POWER_UIKIT

* Fix -Wundef warnings due to use of unguarded SDL_POWER_VITA

* Fix -Wundef warnings due to use of unguarded SDL_POWER_WINDOWS

* Fix -Wundef warnings due to use of unguarded SDL_THREAD_PTHREAD_RECURSIVE_MUTEX

* Fix -Wundef warnings due to use of unguarded SDL_THREAD_PTHREAD_RECURSIVE_MUTEX_NP

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_VIVANTE_VDK

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_WAYLAND

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_OPENGL_CGL

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_OPENGL_EGL

* Fix -Wundef warnings due to use of unguarded __MACOS__

* Fix -Wundef warnings due to use of unguarded __OpenBSD__

* Fix -Wundef warnings due to use of unguarded __FreeBSD__

* Fix -Wundef warnings due to use of unguarded __MWERKS__

* Fix -Wundef warnings due to use of unguarded __WIN32__

* Fix -Wundef warnings due to use of unguarded SDL_IPHONE_LAUNCHSCREEN

* Fix -Wundef warnings due to use of unguarded SDL_VIDEO_OPENGL_ES2

* Remove unused HAVE_CONST, HAVE_INLINE and HAVE_VOLATILE

* Revert "Use SDL alloc functions in libusb/hid.c"

This reverts commit 847c64b00da12ca08bef9e947eb948e378eeaef8.

* Handle FAKE_RECURSIVE_MUTEX in similar way as SDL2

* Don't use defined in macro
2023-03-29 21:49:01 +00:00
..
emscripten Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
n3ds N3DS port (squashed) 2022-10-10 08:50:59 -07:00
shapes Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
CMakeLists.txt cmake: fix testnative for Macos 2023-03-28 04:01:50 +02:00
COPYING Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
README Rename SDL2 tests for SDL3 2023-01-03 11:54:35 -08:00
axis.bmp Split controller axes into positive and negative sides so each can be bound independently. 2016-12-27 01:39:07 -08:00
button.bmp Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
checkkeys.c Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
checkkeysthreads.c Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
gamepadmap.bmp SDL API renaming: SDL_gamecontroller.h 2022-12-27 09:47:24 -08:00
gamepadmap.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
gamepadmap_back.bmp SDL API renaming: SDL_gamecontroller.h 2022-12-27 09:47:24 -08:00
icon.bmp Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
loopwave.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
loopwavequeue.c Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
main.cpp Make WinRT's SDL_main header-only 2022-12-15 08:01:01 -08:00
moose.dat Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
picture.xbm Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
relative_mode.markdown SDL_CreateWindow() has been simplified and no longer takes a window position. 2023-03-06 09:50:12 -08:00
sample.bmp Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
sample.wav Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
template.test.in test: Install GNOME-style installed-tests metadata 2022-05-04 18:17:55 -07:00
testatomic.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testaudiocapture.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testaudiohotplug.c Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
testaudioinfo.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testautomation.c testcommon/automation: add [--audio driver] option 2023-03-27 10:23:18 +02:00
testautomation_audio.c testautomation_audio: fix -Wimplicit-fallthrough warning 2023-03-28 16:59:27 +00:00
testautomation_clipboard.c More fix warnings about static function and prototype 2023-03-08 16:14:09 +01:00
testautomation_events.c Fix video_getSetWindowPosition() that fail when checking events, 2023-03-24 09:52:05 +01:00
testautomation_guid.c More fix warnings about static function and prototype 2023-03-08 16:14:09 +01:00
testautomation_hints.c More fix warnings about static function and prototype 2023-03-08 16:14:09 +01:00
testautomation_images.c More fix warnings about static function and prototype 2023-03-08 16:14:09 +01:00
testautomation_images.h Fix warning drop const qualifier 2023-03-08 22:22:34 +01:00
testautomation_intrinsics.c Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
testautomation_joystick.c More fix warnings about static function and prototype 2023-03-08 16:14:09 +01:00
testautomation_keyboard.c Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
testautomation_main.c More fix warnings about static function and prototype 2023-03-08 16:14:09 +01:00
testautomation_math.c testautomation_math: avoid equality tests with INFINITY 2023-03-27 06:12:49 +00:00
testautomation_mouse.c More fix warnings about static function and prototype 2023-03-08 16:14:09 +01:00
testautomation_pixels.c testautomation_pixels: calling SDL_DestroyPixelFormat or SDL_DestroyPalette with NULL parameter doesn't generate an error 2023-03-17 10:28:54 +01:00
testautomation_platform.c Sunset SDL_HasRDTSC 2023-03-27 06:12:49 +00:00
testautomation_rect.c More fix warnings about static function and prototype 2023-03-08 16:14:09 +01:00
testautomation_render.c More fix warnings about static function and prototype 2023-03-08 16:14:09 +01:00
testautomation_rwops.c More fix warnings about static function and prototype 2023-03-08 16:14:09 +01:00
testautomation_sdltest.c Fix warning drop const qualifier 2023-03-08 22:22:34 +01:00
testautomation_stdlib.c More fix warnings about static function and prototype 2023-03-08 16:14:09 +01:00
testautomation_suites.h Add intrinsics test automation 2023-03-21 23:03:02 +03:00
testautomation_surface.c More fix warnings about static function and prototype 2023-03-08 16:14:09 +01:00
testautomation_syswm.c cmake+tests: include SDL_build_config.h in select tests + add include paths 2023-03-21 23:03:02 +03:00
testautomation_timer.c More fix warnings about static function and prototype 2023-03-08 16:14:09 +01:00
testautomation_video.c testautomation_video: fix memory leak 2023-03-24 09:52:05 +01:00
testbounds.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testcustomcursor.c Fix warnings about static function and prototype 2023-03-08 11:41:18 +01:00
testdisplayinfo.c Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
testdraw.c testprogram: add option to use SDL_BLENDMODE_MUL 2023-03-15 22:00:13 +01:00
testdrawchessboard.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testdropfile.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testerror.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testevdev.c Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
testfile.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testfilesystem.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testgamepad.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testgeometry.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testgl.c Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
testgles.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testgles2.c Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
testgles2_sdf.c Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
testgles2_sdf_img_normal.bmp Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 2021-01-24 00:51:24 -05:00
testgles2_sdf_img_sdf.bmp Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 2021-01-24 00:51:24 -05:00
testhaptic.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testhittesting.c testhittesting: use SDLTest_Common for creating window(s) and renderer(s) 2023-03-17 17:54:16 +01:00
testhotplug.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testiconv.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testime.c Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
testintersections.c testintersections: check integer argument + no global done + get final tick before SDL shutdown 2023-03-17 17:54:16 +01:00
testjoystick.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testkeys.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testloadso.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testlocale.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testlock.c testthread: parse arguments using SDLTest_CommonState + add arguments 2023-03-17 17:54:16 +01:00
testmessage.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testmouse.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testmultiaudio.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testnative.c cmake: testnative can also be built on non-Linux 2023-03-28 00:43:54 +02:00
testnative.h Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
testnativecocoa.m Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
testnativew32.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testnativex11.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testoffscreen.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testoverlay.c Fix warnings about static function and prototype 2023-03-08 11:41:18 +01:00
testplatform.c Sunset SDL_HasRDTSC 2023-03-27 06:12:49 +00:00
testpopup.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testpower.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testqsort.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testrelative.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testrendercopyex.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testrendertarget.c Fix warnings about static function and prototype 2023-03-08 11:41:18 +01:00
testresample.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testrumble.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testscale.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testsem.c testsem: don't re-parse positional argument twice 2023-03-21 02:19:19 +01:00
testsensor.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testshader.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testshape.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testsprite.c testprogram: add option to use SDL_BLENDMODE_MUL 2023-03-15 22:00:13 +01:00
testspriteminimal.c testspriteminimal: don't allow any arguments 2023-03-17 17:54:16 +01:00
teststreaming.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testsurround.c testsurround: fix channel names 2023-03-28 16:59:27 +00:00
testthread.c testthread: parse arguments using SDLTest_CommonState + add arguments 2023-03-17 17:54:16 +01:00
testtimer.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testurl.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testutils.c test: don't use wiki urls for documentation comments 2023-02-02 00:49:09 +01:00
testutils.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testver.c testver: don't allow any arguments 2023-03-17 17:54:16 +01:00
testviewport.c Fix warnings about static function and prototype 2023-03-08 11:41:18 +01:00
testvulkan.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testwm.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testyuv.bmp Updated SDL's YUV support, many thanks to Adrien Descamps 2017-11-12 22:51:12 -08:00
testyuv.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testyuv_cvt.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testyuv_cvt.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
torturethread.c torturethread: sleep a bit in SubThreadFunc to avoid starvation 2023-03-21 02:19:19 +01:00
unifont-13.0.06-license.txt Latest Unifont with OFL is now bundled. (#4268) 2021-07-08 14:51:16 -07:00
unifont-13.0.06.hex Latest Unifont with OFL is now bundled. (#4268) 2021-07-08 14:51:16 -07:00
utf8.txt Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00

README

These are test programs for the SDL library:

	checkkeys	Watch the key events to check the keyboard
	loopwave	Audio test -- loop playing a WAV file
	loopwavequeue	Audio test -- loop playing a WAV file with SDL_QueueAudio
	testsurround	Audio test -- play test tone on each audio channel
	testaudioinfo	Lists audio device capabilities
	testerror	Tests multi-threaded error handling
	testfile	Tests RWops layer
	testgl		A very simple example of using OpenGL with SDL
	testiconv	Tests international string conversion
	testjoystick	List joysticks and watch joystick events
	testkeys	List the available keyboard keys
	testloadso	Tests the loadable library layer
	testlocale  Test Locale API
	testlock	Hacked up test of multi-threading and locking
	testmouse	Tests mouse coordinates
	testmultiaudio	Tests using several audio devices
	testoverlay	Tests the overlay flickering/scaling during playback.
	testplatform	Tests types, endianness and cpu capabilities
	testsem		Tests SDL's semaphore implementation
	testshape	Tests shaped windows
	testsprite	Example of fast sprite movement on the screen
	testthread	Hacked up test of multi-threading
	testtimer	Test the timer facilities
	testver		Check the version and dynamic loading and endianness
	testwm		Test window manager -- title, icon, events
	torturethread	Simple test for thread creation/destruction
	gamepadmap   Useful to generate Game Controller API compatible maps



This directory contains sample.wav, which is a sample from Will Provost's
song, The Living Proof:

     From the album The Living Proof
     Publisher: 5 Guys Named Will
     Copyright 1996 Will Provost

You can get a copy of the full song (and album!) from iTunes...

    https://itunes.apple.com/us/album/the-living-proof/id4153978

or Amazon...

    http://www.amazon.com/The-Living-Proof-Will-Provost/dp/B00004R8RH

Thanks to Will for permitting us to distribute this sample with SDL!