Anonymous Maarten f5886f11d0 cmake: let every test depends on pretest 1 년 전
..
android a4bb4eef73 cmake: create Android jars + apks for tests 1 년 전
emscripten 6607a3cfac Disable cache in python http server 1 년 전
n3ds 655275378d N3DS port (squashed) 2 년 전
shapes 3dcb451f85 Added a README file regarding WinRT support 11 년 전
uwp a5d9db0cd0 cmake: build tests for UWP 1 년 전
CMakeLists.txt f5886f11d0 cmake: let every test depends on pretest 1 년 전
COPYING 3dcb451f85 Added a README file regarding WinRT support 11 년 전
README 47b0321ebf test: Removed loopwavequeue.c; obsolete in SDL3. 1 년 전
audiofile.bmp 2de9253b6c test: Added testaudio 1 년 전
checkkeys.c 2a01f9dcb5 tests: plug leaks when running with --trackmem 1 년 전
checkkeysthreads.c 2a01f9dcb5 tests: plug leaks when running with --trackmem 1 년 전
gamepad_axis.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 년 전
gamepad_axis.h 689555a400 Added gamepad BMP files used as sources for the header files 1 년 전
gamepad_axis_arrow.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 년 전
gamepad_axis_arrow.h 689555a400 Added gamepad BMP files used as sources for the header files 1 년 전
gamepad_back.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 년 전
gamepad_back.h 9885f4d245 Reduced the size of the gamepad front and back images 1 년 전
gamepad_battery_empty.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 년 전
gamepad_battery_empty.h 689555a400 Added gamepad BMP files used as sources for the header files 1 년 전
gamepad_battery_full.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 년 전
gamepad_battery_full.h 689555a400 Added gamepad BMP files used as sources for the header files 1 년 전
gamepad_battery_low.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 년 전
gamepad_battery_low.h 689555a400 Added gamepad BMP files used as sources for the header files 1 년 전
gamepad_battery_medium.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 년 전
gamepad_battery_medium.h 689555a400 Added gamepad BMP files used as sources for the header files 1 년 전
gamepad_battery_unknown.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 년 전
gamepad_battery_unknown.h 689555a400 Added gamepad BMP files used as sources for the header files 1 년 전
gamepad_battery_wired.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 년 전
gamepad_battery_wired.h 689555a400 Added gamepad BMP files used as sources for the header files 1 년 전
gamepad_button.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 년 전
gamepad_button.h 689555a400 Added gamepad BMP files used as sources for the header files 1 년 전
gamepad_button_background.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 년 전
gamepad_button_background.h 45cd4b8038 Added button background 1 년 전
gamepad_button_small.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 년 전
gamepad_button_small.h d44ada59fb Added joystick and gamepad element display in testgamepad 1 년 전
gamepad_face_abxy.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 년 전
gamepad_face_abxy.h 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 년 전
gamepad_face_bayx.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 년 전
gamepad_face_bayx.h 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 년 전
gamepad_face_sony.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 년 전
gamepad_face_sony.h 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 년 전
gamepad_front.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 년 전
gamepad_front.h 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 년 전
gamepad_touchpad.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 년 전
gamepad_touchpad.h 4a53dc5b8d Added touchpad visualization for testgamepad 1 년 전
gamepadutils.c efe15588d5 Relabel back paddles as left or right 1 년 전
gamepadutils.h b271e92c6e Added the ability to specify a gamepad type in the mapping 1 년 전
icon.bmp 3dcb451f85 Added a README file regarding WinRT support 11 년 전
icon.h 4c3e84897f testspriteminimal: make standalone by embedding icon.bmp 1 년 전
logaudiodev.bmp 2de9253b6c test: Added testaudio 1 년 전
loopwave.c b656720bc6 loopwave: Use SDL_GetAudioStreamQueued() for more accurate results. 1 년 전
main.cpp 28b93451dc Make WinRT's SDL_main header-only 2 년 전
moose.dat 3dcb451f85 Added a README file regarding WinRT support 11 년 전
physaudiodev.bmp 2de9253b6c test: Added testaudio 1 년 전
picture.xbm 3dcb451f85 Added a README file regarding WinRT support 11 년 전
pretest.c f5886f11d0 cmake: let every test depends on pretest 1 년 전
relative_mode.markdown 698dbd8464 SDL_CreateWindow() has been simplified and no longer takes a window position. 2 년 전
sample.bmp 3dcb451f85 Added a README file regarding WinRT support 11 년 전
sample.wav 3dcb451f85 Added a README file regarding WinRT support 11 년 전
soundboard.bmp be5f66c84e testaudio: Fixed soundboard icon, which had a colorkey issue. 1 년 전
soundboard_levels.bmp 2de9253b6c test: Added testaudio 1 년 전
speaker.bmp 2de9253b6c test: Added testaudio 1 년 전
template.test.in c335e3db82 test/template.test.in: Pass SDL_NONINTERACTIVE_ARGUMENTS to installed-tests 2 년 전
testatomic.c 8adab0b88a Removed invalid assert in testatomic 1 년 전
testaudio-art.txt 2de9253b6c test: Added testaudio 1 년 전
testaudio.c e0b0f9a36e testaudio: Fix mouseover testing. 1 년 전
testaudiocapture.c 2f43f7bc53 audio: Allow querying of device buffer size. 1 년 전
testaudiohotplug.c 58c859f64d audio: Rename SDL_GetAudioStreamBinding to SDL_GetAudioStreamDevice. 1 년 전
testaudioinfo.c 2f43f7bc53 audio: Allow querying of device buffer size. 1 년 전
testaudiostreamdynamicresample.c 2a01f9dcb5 tests: plug leaks when running with --trackmem 1 년 전
testautomation.c bbdde648d8 Android: let main return normally for testautomation 2 년 전
testautomation_audio.c a62e62f97a Refactored SDL_audiocvt.c 1 년 전
testautomation_clipboard.c c1b11ad54e Expanded automated clipboard tests 1 년 전
testautomation_events.c 2c3717881f testautomation_events.c: initialize "timestamp" to solve "conditional jump or move depends on uninitialised value" 1 년 전
testautomation_guid.c e9e4a9175f testautomation_guid.c: fix integer warning in 32 bit builds. 1 년 전
testautomation_hints.c 0f24956b0a testautomation_hints.c: free hint memory 1 년 전
testautomation_images.c c963f02571 More fix warnings about static function and prototype 2 년 전
testautomation_images.h 4053876bf6 Fix warning drop const qualifier 2 년 전
testautomation_intrinsics.c b6ae281e97 Use #ifdef/#ifndef instead of #if defined/#if \!defined 2 년 전
testautomation_joystick.c c963f02571 More fix warnings about static function and prototype 2 년 전
testautomation_keyboard.c 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) 2 년 전
testautomation_main.c c963f02571 More fix warnings about static function and prototype 2 년 전
testautomation_math.c 474c8d0073 testautomation: don't do float equality tests 1 년 전
testautomation_mouse.c c963f02571 More fix warnings about static function and prototype 2 년 전
testautomation_pixels.c 34860b932b Fixed testautomation --filter pixels_allocFreeFormat 1 년 전
testautomation_platform.c b6ae281e97 Use #ifdef/#ifndef instead of #if defined/#if \!defined 2 년 전
testautomation_rect.c 65e1d568ef Fix various typos (docs/build scripts/tests) 1 년 전
testautomation_render.c 85e3099ba4 testautomation: only require accelated renderer with non-dummy video driver 1 년 전
testautomation_rwops.c b903ccf945 SDL_rwops read/write functions return size_t again 1 년 전
testautomation_sdltest.c 4053876bf6 Fix warning drop const qualifier 2 년 전
testautomation_stdlib.c c03f5b4b69 Fixed rounding up in SDL_PrintFloat 1 년 전
testautomation_suites.h 5775d5e112 Add intrinsics test automation 2 년 전
testautomation_surface.c 65e1d568ef Fix various typos (docs/build scripts/tests) 1 년 전
testautomation_syswm.c c30903882b cmake+tests: include SDL_build_config.h in select tests + add include paths 2 년 전
testautomation_timer.c f45761908a Move check for SDL_Delay upper bounds to testtimer 1 년 전
testautomation_video.c f8e8dff7ee tests: Fix automated window grab and positioning tests under Wayland/XWayland 1 년 전
testbounds.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 년 전
testcontroller.c 2a01f9dcb5 tests: plug leaks when running with --trackmem 1 년 전
testcustomcursor.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2 년 전
testdisplayinfo.c c699f3d1d8 Updated SDL high DPI support 1 년 전
testdraw.c a5d9db0cd0 cmake: build tests for UWP 1 년 전
testdrawchessboard.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 년 전
testdropfile.c 2a01f9dcb5 tests: plug leaks when running with --trackmem 1 년 전
testerror.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2 년 전
testevdev.c 8b12585e1d testevdev: Add some examples of PDP third-party Switch controllers 1 년 전
testfile.c 2a01f9dcb5 tests: plug leaks when running with --trackmem 1 년 전
testfilesystem.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 년 전
testgeometry.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2 년 전
testgl.c ef4ce8cec5 test: Add flag to suspend drawing when occluded 1 년 전
testgles.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2 년 전
testgles2.c ef4ce8cec5 test: Add flag to suspend drawing when occluded 1 년 전
testgles2_sdf.c b4291412a4 tests: build tests with C90 standard 1 년 전
testgles2_sdf_img_normal.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 4 년 전
testgles2_sdf_img_sdf.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 4 년 전
testhaptic.c 6306ee9f42 List the available haptic devices in testhaptic 1 년 전
testhittesting.c 6e2851878f testhittesting: use SDLTest_Common for creating window(s) and renderer(s) 2 년 전
testhotplug.c 65e1d568ef Fix various typos (docs/build scripts/tests) 1 년 전
testiconv.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 년 전
testime.c b903ccf945 SDL_rwops read/write functions return size_t again 1 년 전
testintersections.c 08d5235da0 testintersections: check integer argument + no global done + get final tick before SDL shutdown 2 년 전
testkeys.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 년 전
testloadso.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 년 전
testlocale.c b1a0bc3fb0 testlocale: only ininitialize video when needed 1 년 전
testlock.c 87ad71f9b2 Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention 2 년 전
testmessage.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2 년 전
testmouse.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 년 전
testmultiaudio.c 58c859f64d audio: Rename SDL_GetAudioStreamBinding to SDL_GetAudioStreamDevice. 1 년 전
testnative.c 2a01f9dcb5 tests: plug leaks when running with --trackmem 1 년 전
testnative.h 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) 2 년 전
testnativecocoa.m d3f2de7f29 fixed typo in prev. patch. 1 년 전
testnativew32.c fde78d12f2 Updated copyright for 2023 2 년 전
testnativex11.c fde78d12f2 Updated copyright for 2023 2 년 전
testoffscreen.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 년 전
testoverlay.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2 년 전
testplatform.c 65e1d568ef Fix various typos (docs/build scripts/tests) 1 년 전
testpopup.c b4291412a4 tests: build tests with C90 standard 1 년 전
testpower.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 년 전
testqsort.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 년 전
testrelative.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 년 전
testrendercopyex.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2 년 전
testrendertarget.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2 년 전
testresample.c b903ccf945 SDL_rwops read/write functions return size_t again 1 년 전
testrumble.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 년 전
testrwlock.c 87ad71f9b2 Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention 2 년 전
testscale.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2 년 전
testsem.c 87ad71f9b2 Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention 2 년 전
testsensor.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 년 전
testshader.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 년 전
testshape.c 2a01f9dcb5 tests: plug leaks when running with --trackmem 1 년 전
testsprite.c ef4ce8cec5 test: Add flag to suspend drawing when occluded 1 년 전
testspriteminimal.c 4c3e84897f testspriteminimal: make standalone by embedding icon.bmp 1 년 전
teststreaming.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2 년 전
testsurround.c 2f43f7bc53 audio: Allow querying of device buffer size. 1 년 전
testthread.c cb73bed6eb SDL API renaming: SDL TLS functions 1 년 전
testtimer.c f45761908a Move check for SDL_Delay upper bounds to testtimer 1 년 전
testurl.c fde78d12f2 Updated copyright for 2023 2 년 전
testutils.c 6c2472d459 Relicensed testutils to match other test code 1 년 전
testutils.h 6c2472d459 Relicensed testutils to match other test code 1 년 전
testver.c 4d86a83fa9 testver: don't allow any arguments 2 년 전
testviewport.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2 년 전
testvulkan.c b4291412a4 tests: build tests with C90 standard 1 년 전
testwm.c 2a01f9dcb5 tests: plug leaks when running with --trackmem 1 년 전
testyuv.bmp a6a4e27ae8 Updated SDL's YUV support, many thanks to Adrien Descamps 7 년 전
testyuv.c 2a01f9dcb5 tests: plug leaks when running with --trackmem 1 년 전
testyuv_cvt.c b4291412a4 tests: build tests with C90 standard 1 년 전
testyuv_cvt.h fde78d12f2 Updated copyright for 2023 2 년 전
torturethread.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2 년 전
trashcan.bmp 2de9253b6c test: Added testaudio 1 년 전
unifont-13.0.06-license.txt f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) 3 년 전
unifont-13.0.06.hex f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) 3 년 전
utf8.txt 3dcb451f85 Added a README file regarding WinRT support 11 년 전

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
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
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!