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 a5df48514e Added support for "%[]" sscanf syntax
Fixes https://github.com/libsdl-org/SDL/issues/8423

(cherry picked from commit 39a961ba41)
(cherry picked from commit 4194a902e8)
1 year ago
..
emscripten Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
n3ds N3DS port (squashed) 2 years ago
nacl Fixed bug 3480 - minor update to NACL common.js 8 years ago
shapes Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
CMakeLists.txt cmake: make sure SDL_GetPrefPath is run before testfilesystem 1 year ago
COPYING Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
Makefile.in Added a virtual joystick automated test 2 years 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 testsurround: Add surround sound channel tester 3 years ago
acinclude.m4 revert replace AM_PATH_SDL2 usage with corresponding PKG_CHECK_MODULES. 2 years ago
autogen.sh minor tidy-up to configury. 3 years ago
axis.bmp Split controller axes into positive and negative sides so each can be bound independently. 8 years ago
button.bmp Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
checkkeys.c Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!) 2 years ago
checkkeysthreads.c Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!) 2 years ago
configure revert replace AM_PATH_SDL2 usage with corresponding PKG_CHECK_MODULES. 2 years ago
configure.ac revert replace AM_PATH_SDL2 usage with corresponding PKG_CHECK_MODULES. 2 years ago
controllermap.bmp Be explicit about mapping the new game controller paddle buttons 4 years ago
controllermap.c Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!) 2 years ago
controllermap_back.bmp Be explicit about mapping the new game controller paddle buttons 4 years ago
icon.bmp Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
loopwave.c Updated copyright for 2023 2 years ago
loopwavequeue.c Updated copyright for 2023 2 years ago
moose.dat Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
picture.xbm Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
relative_mode.markdown Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
sample.bmp Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
sample.wav Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
template.test.in test: Install GNOME-style installed-tests metadata 3 years ago
testatomic.c Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!) 2 years ago
testaudiocapture.c Updated copyright for 2023 2 years ago
testaudiohotplug.c Updated copyright for 2023 2 years ago
testaudioinfo.c Updated copyright for 2023 2 years ago
testautomation.c backport x11/sdl2 fixes 2 years ago
testautomation_audio.c Fix remaining -Wimplicit-fallthrough warnings 2 years ago
testautomation_clipboard.c Clang-Tidy fixes (#6725) 2 years ago
testautomation_events.c Update for SDL3 coding style (#6717) 2 years ago
testautomation_guid.c testautomation_guid.c: fix integer warning in 32 bit builds. 2 years ago
testautomation_hints.c Update for SDL3 coding style (#6717) 2 years ago
testautomation_joystick.c Update for SDL3 coding style (#6717) 2 years ago
testautomation_keyboard.c Clang-Tidy fixes (#6725) 2 years ago
testautomation_main.c Update for SDL3 coding style (#6717) 2 years ago
testautomation_math.c testautomation_math: avoid equality tests with INFINITY 2 years ago
testautomation_mouse.c Update for SDL3 coding style (#6717) 2 years ago
testautomation_pixels.c Fixed testautomation --filter pixels_allocFreePalette 1 year ago
testautomation_platform.c Clang-Tidy fixes (#6725) 2 years ago
testautomation_rect.c Clang-Tidy fixes (#6725) 2 years ago
testautomation_render.c Update for SDL3 coding style (#6717) 2 years ago
testautomation_rwops.c Clang-Tidy fixes (#6725) 2 years ago
testautomation_sdltest.c Clang-Tidy fixes (#6725) 2 years ago
testautomation_stdlib.c Added support for "%[]" sscanf syntax 1 year ago
testautomation_suites.h Update for SDL3 coding style (#6717) 2 years ago
testautomation_surface.c tests: avoid redefinition warnings for MSVC _CRT_???_NO_DEPRECATE macros 2 years ago
testautomation_syswm.c Update for SDL3 coding style (#6717) 2 years ago
testautomation_timer.c Update for SDL3 coding style (#6717) 2 years ago
testautomation_video.c backport x11/sdl2 fixes 2 years ago
testbounds.c Updated copyright for 2023 2 years ago
testcustomcursor.c Updated copyright for 2023 2 years ago
testdisplayinfo.c Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!) 2 years ago
testdraw2.c Updated copyright for 2023 2 years ago
testdrawchessboard.c Updated copyright for 2023 2 years ago
testdropfile.c Updated copyright for 2023 2 years ago
testerror.c Updated copyright for 2023 2 years ago
testevdev.c Updated copyright for 2023 2 years ago
testfile.c Updated copyright for 2023 2 years ago
testfilesystem.c Updated copyright for 2023 2 years ago
testfilesystem_pre.c cmake: make sure SDL_GetPrefPath is run before testfilesystem 1 year ago
testgamecontroller.c Updated copyright for 2023 2 years ago
testgeometry.c Updated copyright for 2023 2 years ago
testgesture.c Updated copyright for 2023 2 years ago
testgl2.c style fixes for SDL_PROC macros. 2 years ago
testgles.c Updated copyright for 2023 2 years ago
testgles2.c style fixes for SDL_PROC macros. 2 years ago
testgles2_sdf.c test/testgles2_sdf.c: type fixes from commit e26e893daf, style clean-up. 2 years ago
testgles2_sdf_img_normal.bmp Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 4 years ago
testgles2_sdf_img_sdf.bmp Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 4 years ago
testhaptic.c Update for SDL3 coding style (#6717) 2 years ago
testhittesting.c Update for SDL3 coding style (#6717) 2 years ago
testhotplug.c Updated copyright for 2023 2 years ago
testiconv.c Updated copyright for 2023 2 years ago
testime.c Backport simplify flags PR #7220 2 years ago
testintersections.c Updated copyright for 2023 2 years ago
testjoystick.c Updated copyright for 2023 2 years ago
testkeys.c Updated copyright for 2023 2 years ago
testloadso.c Updated copyright for 2023 2 years ago
testlocale.c Updated copyright for 2023 2 years ago
testlock.c Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!) 2 years ago
testmessage.c Updated copyright for 2023 2 years ago
testmouse.c Updated copyright for 2023 2 years ago
testmultiaudio.c Updated copyright for 2023 2 years ago
testnative.c Updated copyright for 2023 2 years ago
testnative.h Updated copyright for 2023 2 years ago
testnativecocoa.m fixed typo in prev. patch. 1 year ago
testnativeos2.c Updated copyright for 2023 2 years ago
testnativew32.c Updated copyright for 2023 2 years ago
testnativex11.c Updated copyright for 2023 2 years ago
testoffscreen.c Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!) 2 years ago
testoverlay2.c Fix remaining -Wimplicit-fallthrough warnings 2 years ago
testplatform.c Updated copyright for 2023 2 years ago
testpower.c Updated copyright for 2023 2 years ago
testqsort.c Updated copyright for 2023 2 years ago
testrelative.c Updated copyright for 2023 2 years ago
testrendercopyex.c Updated copyright for 2023 2 years ago
testrendertarget.c Updated copyright for 2023 2 years ago
testresample.c Updated copyright for 2023 2 years ago
testrumble.c Updated copyright for 2023 2 years ago
testscale.c Updated copyright for 2023 2 years ago
testsem.c Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!) 2 years ago
testsensor.c Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!) 2 years ago
testshader.c Updated copyright for 2023 2 years ago
testshape.c Updated copyright for 2023 2 years ago
testsprite2.c Updated copyright for 2023 2 years ago
testspriteminimal.c Updated copyright for 2023 2 years ago
teststreaming.c Updated copyright for 2023 2 years ago
testsurround.c testsurround: fix channel names 2 years ago
testthread.c Updated copyright for 2023 2 years ago
testtimer.c Updated copyright for 2023 2 years ago
testurl.c Updated copyright for 2023 2 years ago
testutils.c Relicensed testutils to match other test code 1 year ago
testutils.h Relicensed testutils to match other test code 1 year ago
testver.c Updated copyright for 2023 2 years ago
testviewport.c Updated copyright for 2023 2 years ago
testvulkan.c Updated copyright for 2023 2 years ago
testwm2.c fix bad merge of sizeof style patch 2 years ago
testyuv.bmp Updated SDL's YUV support, many thanks to Adrien Descamps 7 years ago
testyuv.c Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!) 2 years ago
testyuv_cvt.c Updated copyright for 2023 2 years ago
testyuv_cvt.h Updated copyright for 2023 2 years ago
torturethread.c Code style: changed "sizeof foo" to "sizeof(foo)" (thanks @sezero!) 2 years ago
unifont-13.0.06-license.txt Latest Unifont with OFL is now bundled. (#4268) 4 years ago
unifont-13.0.06.hex Latest Unifont with OFL is now bundled. (#4268) 4 years ago
utf8.txt Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
watcom.mif tests, watcom: silence lots of W202 warnings from new vulkan headers. 2 years 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!