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
Anonymous Maarten 2f873636c7 cmake: ios and tvos applications need to link to SDL2main library
Backport of 52090046fe
4 weeks 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: ios and tvos applications need to link to SDL2main library 4 weeks ago
COPYING Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
Makefile.in Fixed build 11 months 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 test/acinclude.m4 (AM_PATH_SDL2): apply recent sdl2.m4 PKG_CONFIG patch 11 months 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 Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
checkkeysthreads.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
configure test/acinclude.m4 (AM_PATH_SDL2): apply recent sdl2.m4 PKG_CONFIG patch 11 months 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 Updated copyright for 2024 12 months 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 Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
loopwavequeue.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months 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 Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testaudiocapture.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testaudiohotplug.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testaudioinfo.c Updated copyright for 2024 12 months ago
testautomation.c Updated copyright for 2024 12 months ago
testautomation_audio.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testautomation_clipboard.c Removed spurious casts 1 year ago
testautomation_events.c Fix video_getSetWindowPosition() that fail when checking events, 11 months ago
testautomation_guid.c Fixed ASAN warning, runtime error: left shift of 160 by 24 places cannot be represented in type 'int' 11 months 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 Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 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]" 5 months ago
testautomation_main.c Remove one test that contains call of SDL_Quit() / SDL_Init() because it 11 months ago
testautomation_math.c testautomation_math: Fix misleading log output 11 months 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 Clang-Tidy fixes (#6725) 2 years ago
testautomation_render.c testautomation: only require accelerated renderer with non-dummy video driver 12 months ago
testautomation_rwops.c Clang-Tidy fixes (#6725) 2 years ago
testautomation_sdltest.c Clang-Tidy fixes (#6725) 2 years ago
testautomation_stdlib.c Implemented left-justification in SDL_PrintString() 5 months ago
testautomation_subsystems.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testautomation_suites.h Added the environment variable SDL_LOGGING to control default log output 11 months ago
testautomation_surface.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testautomation_syswm.c Update for SDL3 coding style (#6717) 2 years ago
testautomation_timer.c Move check for SDL_Delay upper bounds to testtimer 11 months ago
testautomation_video.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testbounds.c Updated copyright for 2024 12 months ago
testcustomcursor.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testdisplayinfo.c Updated copyright for 2024 12 months ago
testdraw2.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testdrawchessboard.c testdrawchessboard: Allow using the standard render API 2 months ago
testdropfile.c Updated copyright for 2024 12 months ago
testerror.c Updated copyright for 2024 12 months ago
testevdev.c Updated copyright for 2024 12 months ago
testfile.c Updated copyright for 2024 12 months ago
testfilesystem.c Updated copyright for 2024 12 months ago
testfilesystem_pre.c Updated copyright for 2024 12 months ago
testgamecontroller.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testgeometry.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testgesture.c remove several instances of unnecessary emptry str "" after SDL_PRI??? 11 months ago
testgl2.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testgles.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testgles2.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testgles2_sdf.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months 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 testhaptic.c: include stdlib.h for exit() 11 months ago
testhittesting.c [SDL2] pointer boolean (#8523) 1 year ago
testhotplug.c Updated copyright for 2024 12 months ago
testiconv.c Updated copyright for 2024 12 months ago
testime.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testintersections.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testjoystick.c Updated copyright for 2024 12 months ago
testkeys.c Updated copyright for 2024 12 months ago
testloadso.c Updated copyright for 2024 12 months ago
testlocale.c Updated copyright for 2024 12 months ago
testlock.c Updated copyright for 2024 12 months ago
testmessage.c Updated copyright for 2024 12 months ago
testmouse.c Updated copyright for 2024 12 months ago
testmultiaudio.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testnative.c Updated copyright for 2024 12 months ago
testnative.h Updated copyright for 2024 12 months ago
testnativecocoa.m fixed typo in prev. patch. 1 year ago
testnativeos2.c Updated copyright for 2024 12 months ago
testnativew32.c Updated copyright for 2024 12 months ago
testnativex11.c Updated copyright for 2024 12 months ago
testoffscreen.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testoverlay2.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testplatform.c Updated copyright for 2024 12 months ago
testpower.c Updated copyright for 2024 12 months ago
testqsort.c Updated copyright for 2024 12 months ago
testrelative.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testrendercopyex.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testrendertarget.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testresample.c Updated copyright for 2024 12 months ago
testrumble.c Updated copyright for 2024 12 months ago
testscale.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testsem.c Updated copyright for 2024 12 months ago
testsensor.c Updated copyright for 2024 12 months ago
testshader.c testshader.c: include stdlib.h for exit() 5 months ago
testshape.c Updated copyright for 2024 12 months ago
testsprite2.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testspriteminimal.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
teststreaming.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testsurround.c Updated copyright for 2024 12 months ago
testthread.c Fixed memory leak in testthread 3 months ago
testtimer.c Move check for SDL_Delay upper bounds to testtimer 11 months ago
testurl.c Updated copyright for 2024 12 months ago
testutils.c Updated copyright for 2024 12 months ago
testutils.h Updated copyright for 2024 12 months ago
testver.c Updated copyright for 2024 12 months ago
testviewport.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testvulkan.c Updated copyright for 2024 12 months ago
testwm2.c Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 5 months ago
testyuv.bmp Updated SDL's YUV support, many thanks to Adrien Descamps 7 years ago
testyuv.c Updated copyright for 2024 12 months ago
testyuv_cvt.c Updated copyright for 2024 12 months ago
testyuv_cvt.h Updated copyright for 2024 12 months ago
torturethread.c Use atomic variables for thread communication 3 months ago
unifont-13.0.06-license.txt Latest Unifont with OFL is now bundled. (#4268) 3 years ago
unifont-13.0.06.hex Latest Unifont with OFL is now bundled. (#4268) 3 years ago
utf8.txt Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
watcom.mif test, watcom.mif: revert f9a46a319b 8 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!