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 4d605ae002 Fix usage of sizeof() in test/testgles*.c files
(cherry-picked from commit 71f2864b3a)
3 years ago
..
emscripten Fixed crash if initialization of EGL failed but was tried again later. 10 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 Create dummy PS2 Video driver 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 Split the common code in test/Makefile.os2 into a separate file 3 years ago
Makefile.w32 test/Makefile.w32: fix minor typo 3 years ago
README testsurround: Add surround sound channel tester 4 years ago
acinclude.m4 tests: minor update to acinclude.m4::pkg.m4 4 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 Updated copyright for 2022 4 years ago
configure Updated to autoconf 2.71 3 years ago
configure.ac configure.ac: remove unnecessary AC_SUBST's added by commit 38ef678990 3 years ago
controllermap.bmp Be explicit about mapping the new game controller paddle buttons 5 years ago
controllermap.c test: Add some common code to load test resources 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 test: Add some common code to load test resources 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 Updated copyright for 2022 4 years ago
testautomation.c No need to cast from char* to const char* 3 years ago
testautomation_audio.c tests: several -Wwrite-strings fixes. 4 years ago
testautomation_clipboard.c Fixed up legacy MoinMoin URLs at wiki.libsdl.org 5 years ago
testautomation_events.c Fixed up legacy MoinMoin URLs at wiki.libsdl.org 5 years ago
testautomation_guid.c Merge testguid into testautomation (#5873) 3 years ago
testautomation_hints.c Added SDL_ResetHint() to reset a hint to the default value 3 years ago
testautomation_joystick.c Added a virtual joystick automated test 3 years ago
testautomation_keyboard.c tests: several -Wwrite-strings fixes. 4 years ago
testautomation_main.c Removed the limit on the size of the SDL error message 3 years ago
testautomation_math.c Test: Fix Exp base case for Win32. 3 years ago
testautomation_mouse.c You may need to wait a bit for SDL_WarpMouseInWindow() to complete 4 years ago
testautomation_pixels.c tests: several -Wwrite-strings fixes. 4 years ago
testautomation_platform.c Fix some typos in diagnostic messages 3 years ago
testautomation_rect.c Removed two distracting gcc-11 warnings 3 years ago
testautomation_render.c Fixed bug #2426 - SDL_RenderReadPixels result is unspecified and fails testautomation 4 years ago
testautomation_rwops.c Don't run the stdio automated tests if libc isn't available 3 years ago
testautomation_sdltest.c use SDL's functions version inplace of libc version 4 years ago
testautomation_stdlib.c Added test for digit count in sscanf, e.g. "%1x" 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 Fixed bug 3744 - missing SDLCALL in several functions 8 years ago
testautomation_video.c testautomation: add video_setWindowCenteredOnDisplay test 3 years ago
testbounds.c Updated copyright for 2022 4 years ago
testcustomcursor.c testcustomcursor: Allow running without custom or system cursors 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 SDL_GameControllerType enumeration for Nintendo Switch Joy-Con controllers 3 years ago
testgeometry.c test: Add some common code to load test resources 3 years ago
testgesture.c testgesture: display device name with SDL_GetTouchName() 4 years ago
testgl2.c Updated copyright for 2022 4 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 Updated copyright for 2022 4 years ago
testiconv.c test: Add some common code to load test resources 3 years ago
testime.c test: Add some common code to load test resources 3 years ago
testintersections.c Updated copyright for 2022 4 years ago
testjoystick.c Updated copyright for 2022 4 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 Updated copyright for 2022 4 years ago
testmouse.c Visualise scroll wheel events in testmouse 4 years ago
testmultiaudio.c test: Add some common code to load test resources 3 years ago
testnative.c test: Add some common code to load test resources 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 Updated copyright for 2022 4 years ago
testoverlay2.c test: Add some common code to load test resources 3 years ago
testplatform.c Add SDL_FLOATWORDORDER for older ARM toolchains 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 Updated copyright for 2022 4 years ago
testrendercopyex.c test: Add some common code to load test resources 3 years ago
testrendertarget.c test: Add some common code to load test resources 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 Updated copyright for 2022 4 years ago
testsensor.c Updated copyright for 2022 4 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 test: Add some common code to load test resources 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 test: Add a mode to skip tests that involve arbitrary delays 3 years ago
testurl.c Add a default URL in testurl 3 years ago
testutils.c Remove extra path separator in GetNearbyFilename 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 test: Add some common code to load test resources 3 years ago
testvulkan.c Updated copyright for 2022 4 years ago
testwm2.c Updated copyright for 2022 4 years ago
testyuv.bmp Updated SDL's YUV support, many thanks to Adrien Descamps 8 years ago
testyuv.c Updated copyright for 2022 4 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 Added a virtual joystick automated test 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!