SDL/test
Sam Lantinga c2d79cb411 Verify that clear ignores the viewport and test a logical size that isn't the same aspect ratio as the window 2023-01-26 16:10:13 -08: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: add SDL_TESTS_TIMEOUT_MULTIPLIER to account for slower machines 2023-01-10 02:39:09 +01: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 Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
checkkeysthreads.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
gamepadmap.bmp SDL API renaming: SDL_gamecontroller.h 2022-12-27 09:47:24 -08:00
gamepadmap.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08: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 Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
loopwavequeue.c test/loopwavequeue.c: minor warning fix (SDL_AudioDeviceID is unsigned) 2023-01-26 18:15:20 +03: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 Renamed SDL events for clarity 2023-01-24 07:26:48 -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 Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testaudiocapture.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testaudiohotplug.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testaudioinfo.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testautomation.c testautomation: add an option to list all test suites and tests 2023-01-16 11:07:09 +01:00
testautomation_audio.c Update testaudiostream_audio.c 2023-01-22 11:31:30 -05:00
testautomation_clipboard.c Removed the vi format comments from the source 2022-12-26 11:17:23 -08:00
testautomation_events.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testautomation_guid.c Removed the vi format comments from the source 2022-12-26 11:17:23 -08:00
testautomation_hints.c SDL 3.0 is going to be high DPI aware and officially separates screen… (#7145) 2023-01-25 01:23:17 -08:00
testautomation_images.c Moved testautomation data out of SDL_test library 2023-01-26 10:25:44 -08:00
testautomation_images.h Moved testautomation data out of SDL_test library 2023-01-26 10:25:44 -08:00
testautomation_joystick.c Set SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS for the virtual joystick test 2023-01-09 09:16:10 -08:00
testautomation_keyboard.c Remove more reserved identifiers (#6925) 2022-12-29 13:58:16 -08:00
testautomation_main.c Remove one test that contains call of SDL_Quit() / SDL_Init() because it 2023-01-08 12:39:23 -08:00
testautomation_math.c Fixed documentation errors in testautomation_math.c 2023-01-03 16:44:00 -08:00
testautomation_mouse.c Moved testautomation data out of SDL_test library 2023-01-26 10:25:44 -08:00
testautomation_pixels.c Fix testautomation_pixels using really invalid pixel format 2023-01-07 10:11:02 -08:00
testautomation_platform.c Remove more reserved identifiers (#6925) 2022-12-29 13:58:16 -08:00
testautomation_rect.c Spell out "Float" in function names 2022-12-29 14:50:31 -08:00
testautomation_render.c Verify that clear ignores the viewport and test a logical size that isn't the same aspect ratio as the window 2023-01-26 16:10:13 -08:00
testautomation_rwops.c SDL API renaming: SDL_Alloc*/SDL_Free* -> SDL_Create*/SDL_Destroy* 2022-12-29 15:07:15 -08:00
testautomation_sdltest.c Removed the vi format comments from the source 2022-12-26 11:17:23 -08:00
testautomation_stdlib.c Fixed build warnings in Xcode 2023-01-26 13:58:59 -08:00
testautomation_suites.h testautomation: add an option to list all test suites and tests 2023-01-16 11:07:09 +01:00
testautomation_surface.c Moved testautomation data out of SDL_test library 2023-01-26 10:25:44 -08:00
testautomation_syswm.c Removed the vi format comments from the source 2022-12-26 11:17:23 -08:00
testautomation_timer.c Remove more reserved identifiers (#6925) 2022-12-29 13:58:16 -08:00
testautomation_video.c SDL 3.0 is going to be high DPI aware and officially separates screen… (#7145) 2023-01-25 01:23:17 -08:00
testbounds.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testcustomcursor.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testdisplayinfo.c Rename SDL_GetDisplayDPI to SDL_GetDisplayPhysicalDPI 2023-01-25 00:04:00 -08:00
testdraw.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testdrawchessboard.c SDL 3.0 is going to be high DPI aware and officially separates screen… (#7145) 2023-01-25 01:23:17 -08:00
testdropfile.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testerror.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testevdev.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testfile.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testfilesystem.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testgamepad.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testgeometry.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testgl.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testgles.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testgles2.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testgles2_sdf.c Renamed SDL events for clarity 2023-01-24 07:26:48 -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 Removed the vi format comments from the source 2022-12-26 11:17:23 -08:00
testhittesting.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testhotplug.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testiconv.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testime.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testintersections.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testjoystick.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testkeys.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testloadso.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testlocale.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testlock.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testmessage.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testmouse.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testmultiaudio.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testnative.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testnative.h Updated copyright for 2023 2023-01-09 09:41:41 -08: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 Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testoverlay.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testplatform.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testpower.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testqsort.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testrelative.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testrendercopyex.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testrendertarget.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testresample.c Add SDL_ConvertAudioSamples() helper function 2023-01-24 08:26:09 -08:00
testrumble.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testscale.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testsem.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testsensor.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testshader.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testshape.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testsprite.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testspriteminimal.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
teststreaming.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testsurround.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testthread.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testtimer.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testurl.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testutils.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testutils.h Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testver.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testviewport.c Updated copyright for 2023 2023-01-09 09:41:41 -08:00
testvulkan.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testwm.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08:00
testyuv.bmp Updated SDL's YUV support, many thanks to Adrien Descamps 2017-11-12 22:51:12 -08:00
testyuv.c Renamed SDL events for clarity 2023-01-24 07:26:48 -08: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 Updated copyright for 2023 2023-01-09 09:41:41 -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

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!