You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sdl/test
Sam Lantinga f0a8e09f7c Skip the Jack audio server test
The Jack server might not be running even though the libraries are installed.
4 weeks ago
..
emscripten
n3ds
nacl
shapes
win32 Copy sdlprocdump from SDL3 8 months ago
CMakeLists.txt ci: merge all workflows 5 months ago
COPYING
Makefile.in Fixed build 1 year ago
Makefile.os2 tests: added -DHAVE_SIGNAL_H to CFLAGS in watcom makefiles 2 years ago
Makefile.w32 tests: added -DHAVE_SIGNAL_H to CFLAGS in watcom makefiles 2 years ago
README
acinclude.m4 test/acinclude.m4 (AM_PATH_SDL2): apply recent sdl2.m4 PKG_CONFIG patch 1 year ago
autogen.sh
axis.bmp
button.bmp
checkkeys.c Updated copyright for 2025 4 months ago
checkkeysthreads.c Updated copyright for 2025 4 months ago
configure test/acinclude.m4 (AM_PATH_SDL2): apply recent sdl2.m4 PKG_CONFIG patch 1 year ago
configure.ac
controllermap.bmp
controllermap.c Updated copyright for 2025 4 months ago
controllermap_back.bmp
icon.bmp
loopwave.c Updated copyright for 2025 4 months ago
loopwavequeue.c Updated copyright for 2025 4 months ago
moose.dat
picture.xbm
relative_mode.markdown
sample.bmp
sample.wav
template.test.in
testatomic.c Fixed mis-cherry-pick 3 months ago
testaudiocapture.c Updated copyright for 2025 4 months ago
testaudiohotplug.c Updated copyright for 2025 4 months ago
testaudioinfo.c Updated copyright for 2025 4 months ago
testautomation.c Updated copyright for 2025 4 months ago
testautomation_audio.c Skip the Jack audio server test 4 weeks ago
testautomation_clipboard.c Removed spurious casts 2 years ago
testautomation_events.c Fix video_getSetWindowPosition() that fail when checking events, 1 year ago
testautomation_guid.c Fixed ASAN warning, runtime error: left shift of 160 by 24 places cannot be represented in type 'int' 1 year ago
testautomation_hints.c tests: port failing SDL_Hint tests from pysdl2 to testautomation 1 month ago
testautomation_joystick.c
testautomation_keyboard.c testautomation keyboard: use `space` instead of `a` 6 months ago
testautomation_log.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 9 months ago
testautomation_main.c Remove one test that contains call of SDL_Quit() / SDL_Init() because it 1 year ago
testautomation_math.c testautomation_math: Fix misleading log output 1 year ago
testautomation_mouse.c [SDL2] pointer boolean (#8523) 1 year ago
testautomation_pixels.c Add SDL_PIXELFORMAT_INDEX2LSB and SDL_PIXELFORMAT_INDEX2MSB 1 year ago
testautomation_platform.c Fix compilation / same as sdl2-compat 1 year ago
testautomation_rect.c test: actually run rect tests 1 month ago
testautomation_render.c tests: port failing SDL_Renderer test from pysdl2 to testautomation 1 month ago
testautomation_rwops.c
testautomation_sdltest.c fix integer overflow ub in testautomation_sdltest 4 months ago
testautomation_stdlib.c Fixed sscanf("026", "%1x%1x%1x", &r, &g, &b) 2 months ago
testautomation_subsystems.c tests: port failing SDL subsystem test from pysdl2 to testautomation 1 month ago
testautomation_suites.h Added the environment variable SDL_LOGGING to control default log output 1 year ago
testautomation_surface.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 9 months ago
testautomation_syswm.c
testautomation_timer.c Move check for SDL_Delay upper bounds to testtimer 1 year ago
testautomation_video.c tests: port failing window test from pysdl2 to testautomation 1 month ago
testbounds.c Updated copyright for 2025 4 months ago
testcustomcursor.c Updated copyright for 2025 4 months ago
testdisplayinfo.c Updated copyright for 2025 4 months ago
testdraw2.c Updated copyright for 2025 4 months ago
testdrawchessboard.c Updated copyright for 2025 4 months ago
testdropfile.c Updated copyright for 2025 4 months ago
testerror.c Updated copyright for 2025 4 months ago
testevdev.c Updated copyright for 2025 4 months ago
testfile.c Updated copyright for 2025 4 months ago
testfilesystem.c Updated copyright for 2025 4 months ago
testfilesystem_pre.c Updated copyright for 2025 4 months ago
testgamecontroller.c Updated copyright for 2025 4 months ago
testgeometry.c Updated copyright for 2025 4 months ago
testgesture.c Updated copyright for 2025 4 months ago
testgl2.c Updated copyright for 2025 4 months ago
testgles.c Updated copyright for 2025 4 months ago
testgles2.c Updated copyright for 2025 4 months ago
testgles2_sdf.c Updated copyright for 2025 4 months ago
testgles2_sdf_img_normal.bmp
testgles2_sdf_img_sdf.bmp
testhaptic.c testhaptic.c: include stdlib.h for exit() 1 year ago
testhittesting.c [SDL2] pointer boolean (#8523) 1 year ago
testhotplug.c Updated copyright for 2025 4 months ago
testiconv.c Updated copyright for 2025 4 months ago
testime.c Updated copyright for 2025 4 months ago
testintersections.c Updated copyright for 2025 4 months ago
testjoystick.c Updated copyright for 2025 4 months ago
testkeys.c Updated copyright for 2025 4 months ago
testloadso.c Updated copyright for 2025 4 months ago
testlocale.c Updated copyright for 2025 4 months ago
testlock.c Updated copyright for 2025 4 months ago
testmessage.c Updated copyright for 2025 4 months ago
testmouse.c Updated copyright for 2025 4 months ago
testmultiaudio.c Updated copyright for 2025 4 months ago
testnative.c Updated copyright for 2025 4 months ago
testnative.h Updated copyright for 2025 4 months ago
testnativecocoa.m fixed typo in prev. patch. 2 years ago
testnativeos2.c Updated copyright for 2025 4 months ago
testnativew32.c Updated copyright for 2025 4 months ago
testnativex11.c Updated copyright for 2025 4 months ago
testoffscreen.c Updated copyright for 2025 4 months ago
testoverlay2.c Updated copyright for 2025 4 months ago
testplatform.c comment out signed multiplication overflow ub in testplatform 4 months ago
testpower.c Updated copyright for 2025 4 months ago
testqsort.c Updated copyright for 2025 4 months ago
testrelative.c Updated copyright for 2025 4 months ago
testrendercopyex.c Updated copyright for 2025 4 months ago
testrendertarget.c Updated copyright for 2025 4 months ago
testresample.c Updated copyright for 2025 4 months ago
testrumble.c Updated copyright for 2025 4 months ago
testscale.c Updated copyright for 2025 4 months ago
testsem.c Updated copyright for 2025 4 months ago
testsensor.c Updated copyright for 2025 4 months ago
testshader.c Updated copyright for 2025 4 months ago
testshape.c Updated copyright for 2025 4 months ago
testsprite2.c Updated copyright for 2025 4 months ago
testspriteminimal.c Updated copyright for 2025 4 months ago
teststreaming.c Updated copyright for 2025 4 months ago
testsurround.c Updated copyright for 2025 4 months ago
testthread.c Updated copyright for 2025 4 months ago
testtimer.c Updated copyright for 2025 4 months ago
testurl.c Updated copyright for 2025 4 months ago
testutils.c Updated copyright for 2025 4 months ago
testutils.h Updated copyright for 2025 4 months ago
testver.c Updated copyright for 2025 4 months ago
testviewport.c Updated copyright for 2025 4 months ago
testvulkan.c Updated copyright for 2025 4 months ago
testwm2.c Updated copyright for 2025 4 months ago
testyuv.bmp
testyuv.c Updated copyright for 2025 4 months ago
testyuv_cvt.c Updated copyright for 2025 4 months ago
testyuv_cvt.h Updated copyright for 2025 4 months ago
torturethread.c Updated copyright for 2025 4 months ago
unifont-13.0.06-license.txt
unifont-13.0.06.hex
utf8.txt
watcom.mif test, watcom.mif: revert 78391e6530 12 months ago

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
	testgl2		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
	testoverlay2	Tests the overlay flickering/scaling during playback.
	testplatform	Tests types, endianness and cpu capabilities
	testsem		Tests SDL's semaphore implementation
	testshape	Tests shaped windows
	testsprite2	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
	testwm2		Test window manager -- title, icon, events
	torturethread	Simple test for thread creation/destruction
	controllermap   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!