SDL/test
Luke Street 9b3d146ea1 Merge remote-tracking branch 'upstream/release-2.26.x' into merged 2023-05-27 11:37:31 -04: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
nacl Fixed bug 3480 - minor update to NACL common.js 2016-11-05 01:48:14 -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: add time out to tests to avoid ci timeouts 2022-11-16 15:42:08 +01:00
COPYING Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
Makefile.in Added a virtual joystick automated test 2022-07-13 08:58:15 -07:00
Makefile.os2 watcom: add ENABLE_WERROR option to makefiles 2022-10-08 23:41:07 +02:00
Makefile.w32 watcom: add ENABLE_WERROR option to makefiles 2022-10-08 23:41:07 +02:00
README testsurround: Add surround sound channel tester 2021-10-30 21:26:03 -07:00
acinclude.m4 revert replace AM_PATH_SDL2 usage with corresponding PKG_CHECK_MODULES. 2022-11-07 21:15:30 +03:00
autogen.sh minor tidy-up to configury. 2022-06-15 17:00:02 +03: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 Updated copyright for 2023 2023-01-09 09:52:59 -08:00
checkkeysthreads.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
configure revert replace AM_PATH_SDL2 usage with corresponding PKG_CHECK_MODULES. 2022-11-07 21:15:30 +03:00
configure.ac revert replace AM_PATH_SDL2 usage with corresponding PKG_CHECK_MODULES. 2022-11-07 21:15:30 +03:00
controllermap.bmp Be explicit about mapping the new game controller paddle buttons 2020-11-07 02:22:15 -08:00
controllermap.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
controllermap_back.bmp Be explicit about mapping the new game controller paddle buttons 2020-11-07 02:22:15 -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 Updated copyright for 2023 2023-01-09 09:52:59 -08:00
loopwavequeue.c Updated copyright for 2023 2023-01-09 09:52:59 -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 Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02: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 Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testaudiocapture.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testaudiohotplug.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testaudioinfo.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testautomation.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testautomation_audio.c Uses integer arithmetics in SDL_ResampleAudio 2023-03-09 22:13:17 -08:00
testautomation_clipboard.c Add support for X11 primary selection (#6132) 2022-09-14 09:28:35 -07:00
testautomation_events.c Fixed up legacy MoinMoin URLs at wiki.libsdl.org 2021-04-01 12:20:33 -04:00
testautomation_guid.c N3DS: Fix `-Wformat` warnings in tests. 2022-10-10 08:50:59 -07:00
testautomation_hints.c SDL_ResetHint() no longer clears the callbacks associated with a hint 2022-10-02 17:17:31 -07:00
testautomation_joystick.c Fixed build 2022-10-25 10:30:56 -07:00
testautomation_keyboard.c N3DS: Fix `-Wformat` warnings in tests. 2022-10-10 08:50:59 -07:00
testautomation_main.c automation_main.c: fix -Wformat-zero-length warning due to SDL_SetError("") 2022-10-08 23:41:07 +02:00
testautomation_math.c N3DS: Fix `-Wformat` warnings in tests. 2022-10-10 08:50:59 -07:00
testautomation_mouse.c N3DS: Fix `-Wformat` warnings in tests. 2022-10-10 08:50:59 -07:00
testautomation_pixels.c Silence `-Wmaybe-uninitialized` warnings in tests. 2022-11-14 21:23:08 -08:00
testautomation_platform.c N3DS: Fix `-Wformat` warnings in tests. 2022-10-10 08:50:59 -07:00
testautomation_rect.c Removed two distracting gcc-11 warnings 2022-06-05 14:11:10 +03:00
testautomation_render.c Don't compare pointer against '0', but NULL 2022-11-17 09:18:49 +01:00
testautomation_rwops.c Silence `-Wmaybe-uninitialized` warnings in tests. 2022-11-14 21:23:08 -08:00
testautomation_sdltest.c N3DS: Fix `-Wformat` warnings in tests. 2022-10-10 08:50:59 -07:00
testautomation_stdlib.c testautomation: avoid format related warnings by using a few pragma's 2022-10-08 23:41:07 +02:00
testautomation_suites.h Added a virtual joystick automated test 2022-07-13 08:58:15 -07:00
testautomation_surface.c Fix SDL_PIXELFORMAT_INDEX1LSB test case 2022-09-17 13:18:32 -07:00
testautomation_syswm.c Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
testautomation_timer.c N3DS: Fix `-Wformat` warnings in tests. 2022-10-10 08:50:59 -07:00
testautomation_video.c Silence `-Wmaybe-uninitialized` warnings in tests. 2022-11-14 21:23:08 -08:00
testbounds.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testcustomcursor.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testdisplayinfo.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testdraw2.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testdrawchessboard.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testdropfile.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testerror.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testevdev.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testfile.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testfilesystem.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testgamecontroller.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testgeometry.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testgesture.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testgl2.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testgles.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testgles2.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testgles2_sdf.c Updated copyright for 2023 2023-01-09 09:52:59 -08: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 testhaptic: fix watcom "&array may not produce intended result" warning 2022-10-09 12:01:02 +03:00
testhittesting.c Fixed bug 3744 - missing SDLCALL in several functions 2017-08-13 21:06:52 -07:00
testhotplug.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testiconv.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testime.c testime.c fixes from SDL2 branch. 2023-02-10 11:11:10 +03:00
testintersections.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testjoystick.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testkeys.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testloadso.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testlocale.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testlock.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testmessage.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testmouse.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testmultiaudio.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testnative.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testnative.h Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testnativecocoa.m Fixed crash if initialization of EGL failed but was tried again later. 2015-06-21 17:33:46 +02:00
testnativeos2.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testnativew32.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testnativex11.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testoffscreen.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testoverlay2.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testplatform.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testpower.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testqsort.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testrelative.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testrendercopyex.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testrendertarget.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testresample.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testrumble.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testscale.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testsem.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testsensor.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testshader.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testshape.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testsprite2.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testspriteminimal.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
teststreaming.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testsurround.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testswitch.c switch: use new gfx (#26) 2021-06-18 15:08:55 +01:00
testthread.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testtimer.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testurl.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testutils.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testutils.h Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testver.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testviewport.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testvulkan.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testwm2.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testyuv.bmp Updated SDL's YUV support, many thanks to Adrien Descamps 2017-11-12 22:51:12 -08:00
testyuv.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testyuv_cvt.c Updated copyright for 2023 2023-01-09 09:52:59 -08:00
testyuv_cvt.h Updated copyright for 2023 2023-01-09 09:52:59 -08:00
torturethread.c Updated copyright for 2023 2023-01-09 09:52:59 -08: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
watcom.mif tests, watcom: silence lots of W202 warnings from new vulkan headers. 2022-09-18 17:33:04 +03: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
	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!