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
Sylvain 3e70553c48 Unneed test before calling SDL_FreeSurface 3 years ago
..
emscripten Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
n3ds N3DS port (squashed) 3 years ago
nacl Fixed bug 3480 - minor update to NACL common.js 9 years ago
shapes Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
CMakeLists.txt cmake: add time out to tests to avoid ci timeouts 3 years 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 3 years ago
Makefile.os2 watcom: add ENABLE_WERROR option to makefiles 3 years ago
Makefile.w32 watcom: add ENABLE_WERROR option to makefiles 3 years ago
README testsurround: Add surround sound channel tester 4 years ago
acinclude.m4 revert replace AM_PATH_SDL2 usage with corresponding PKG_CHECK_MODULES. 3 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. 9 years ago
button.bmp Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
checkkeys.c Don't spin as quickly as possible in the checkkeys rendering loop 3 years ago
checkkeysthreads.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
configure revert replace AM_PATH_SDL2 usage with corresponding PKG_CHECK_MODULES. 3 years ago
configure.ac revert replace AM_PATH_SDL2 usage with corresponding PKG_CHECK_MODULES. 3 years ago
controllermap.bmp Be explicit about mapping the new game controller paddle buttons 5 years ago
controllermap.c Silence `-Wmaybe-uninitialized` warnings in tests. 3 years ago
controllermap_back.bmp Be explicit about mapping the new game controller paddle buttons 5 years ago
icon.bmp Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
loopwave.c emscripten: fix warnings in tests 3 years ago
loopwavequeue.c test: Add some common code to load test resources 3 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 Wait for all the threads to actually finish before exiting 3 years ago
testaudiocapture.c Updated copyright for 2022 4 years ago
testaudiohotplug.c test: Add some common code to load test resources 3 years ago
testaudioinfo.c testaudioinfo: Initialize deviceName unconditionally 3 years ago
testautomation.c No need to cast from char* to const char* 3 years ago
testautomation_audio.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testautomation_clipboard.c Add support for X11 primary selection (#6132) 3 years ago
testautomation_events.c Fixed up legacy MoinMoin URLs at wiki.libsdl.org 5 years ago
testautomation_guid.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testautomation_hints.c SDL_ResetHint() no longer clears the callbacks associated with a hint 3 years ago
testautomation_joystick.c Fixed build 3 years ago
testautomation_keyboard.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testautomation_main.c automation_main.c: fix -Wformat-zero-length warning due to SDL_SetError("") 3 years ago
testautomation_math.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testautomation_mouse.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testautomation_pixels.c Silence `-Wmaybe-uninitialized` warnings in tests. 3 years ago
testautomation_platform.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testautomation_rect.c Removed two distracting gcc-11 warnings 3 years ago
testautomation_render.c Don't compare pointer against '0', but NULL 3 years ago
testautomation_rwops.c Silence `-Wmaybe-uninitialized` warnings in tests. 3 years ago
testautomation_sdltest.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testautomation_stdlib.c testautomation: avoid format related warnings by using a few pragma's 3 years ago
testautomation_suites.h Added a virtual joystick automated test 3 years ago
testautomation_surface.c Fix SDL_PIXELFORMAT_INDEX1LSB test case 3 years ago
testautomation_syswm.c Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
testautomation_timer.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testautomation_video.c Silence `-Wmaybe-uninitialized` warnings in tests. 3 years ago
testbounds.c Updated copyright for 2022 4 years ago
testcustomcursor.c testcustomcursor: fix Wswitch warning by casting the arg to an int 3 years ago
testdisplayinfo.c Updated copyright for 2022 4 years ago
testdraw2.c Updated copyright for 2022 4 years ago
testdrawchessboard.c Updated copyright for 2022 4 years ago
testdropfile.c Updated copyright for 2022 4 years ago
testerror.c test: Add a mode to skip tests that involve arbitrary delays 3 years ago
testevdev.c testevdev: Explain why the test data is encoded the way it is 3 years ago
testfile.c Updated copyright for 2022 4 years ago
testfilesystem.c Rename folder created in test_filesystem 3 years ago
testgamecontroller.c Added simple BLE Steam Controller support on all platforms 3 years ago
testgeometry.c testgeometry: fix conversion from 'double' to 'float', possible loss of data 3 years ago
testgesture.c testgesture: display device name with SDL_GetTouchName() 4 years ago
testgl2.c PSP: Fix `Wformat` warnings. 3 years ago
testgles.c Fix usage of sizeof() in test/testgles*.c files 3 years ago
testgles2.c Fix usage of sizeof() in test/testgles*.c files 3 years ago
testgles2_sdf.c Fix usage of sizeof() in test/testgles*.c files 3 years ago
testgles2_sdf_img_normal.bmp Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 5 years ago
testgles2_sdf_img_sdf.bmp Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 5 years ago
testhaptic.c testhaptic: fix watcom "&array may not produce intended result" warning 3 years ago
testhittesting.c Fixed bug 3744 - missing SDLCALL in several functions 8 years ago
testhotplug.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testiconv.c tests: avoid MSVC preaching about unsafe functions 3 years ago
testime.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testintersections.c testintersections: fix conversion from `time_t` to `unsigned int` 3 years ago
testjoystick.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testkeys.c Updated copyright for 2022 4 years ago
testloadso.c Updated copyright for 2022 4 years ago
testlocale.c Updated copyright for 2022 4 years ago
testlock.c Updated copyright for 2022 4 years ago
testmessage.c testmessage: fix conversion from `intptr_t` to `Uint32` 3 years ago
testmouse.c testmouse: add explicit int-cast to avoid warning about converting `float` to `int` 3 years ago
testmultiaudio.c test: Add some common code to load test resources 3 years ago
testnative.c testnative: fix conversion from `time_t` to `unsigned int` 3 years ago
testnative.h Updated copyright for 2022 4 years ago
testnativecocoa.m Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
testnativeos2.c Updated copyright for 2022 4 years ago
testnativew32.c Updated copyright for 2022 4 years ago
testnativex11.c Updated copyright for 2022 4 years ago
testoffscreen.c emscripten: fix warnings in tests 3 years ago
testoverlay2.c test: Add some common code to load test resources 3 years ago
testplatform.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testpower.c Updated copyright for 2022 4 years ago
testqsort.c Use SDLCALL for callbacks in public APIs 3 years ago
testrelative.c Remove unneeded semicolon 3 years ago
testrendercopyex.c test: Add some common code to load test resources 3 years ago
testrendertarget.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testresample.c Updated copyright for 2022 4 years ago
testrumble.c Updated copyright for 2022 4 years ago
testscale.c test: Add some common code to load test resources 3 years ago
testsem.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testsensor.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testshader.c testshader: use SDL_malloc instead of SDL_stack_alloc. 4 years ago
testshape.c Updated copyright for 2022 4 years ago
testsprite2.c Windows GDK Support (#5830) 3 years ago
testspriteminimal.c testspriteminimal: fix conversion from `time_t` to `unsigned int` 3 years ago
teststreaming.c test: Add some common code to load test resources 3 years ago
testsurround.c test: Add a mode to skip tests that involve arbitrary delays 3 years ago
testthread.c test: Add a mode to skip tests that involve arbitrary delays 3 years ago
testtimer.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testurl.c Add a default URL in testurl 3 years ago
testutils.c Unneed test before calling SDL_FreeSurface 3 years ago
testutils.h test: Add some common code to load test resources 3 years ago
testver.c Updated copyright for 2022 4 years ago
testviewport.c emscripten: fix warnings in tests 3 years ago
testvulkan.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testwm2.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testyuv.bmp Updated SDL's YUV support, many thanks to Adrien Descamps 8 years ago
testyuv.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testyuv_cvt.c Updated copyright for 2022 4 years ago
testyuv_cvt.h Updated copyright for 2022 4 years ago
torturethread.c Updated copyright for 2022 4 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. 3 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!