SDL/test
Anonymous Maarten b4291412a4 tests: build tests with C90 standard
C90 mode is disabled for:
- testautomation: use of isnan/isfinite
- testlock: use of kill
- testvulkan: use of c++ style strings in vulkan.h
2023-05-27 01:49:07 +02:00
..
emscripten
n3ds
shapes
axis.bmp
button.bmp
checkkeys.c testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2023-04-12 11:37:26 +02:00
checkkeysthreads.c tests: build tests with C90 standard 2023-05-27 01:49:07 +02:00
CMakeLists.txt tests: build tests with C90 standard 2023-05-27 01:49:07 +02:00
COPYING
gamepadmap.bmp
gamepadmap.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
gamepadmap_back.bmp
icon.bmp
loopwave.c testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2023-04-12 11:37:26 +02:00
loopwavequeue.c testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2023-04-12 11:37:26 +02:00
main.cpp
moose.dat
picture.xbm
README
relative_mode.markdown
sample.bmp
sample.wav
template.test.in test/template.test.in: Pass SDL_NONINTERACTIVE_ARGUMENTS to installed-tests 2023-04-12 15:04:11 +00:00
testatomic.c Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention 2023-04-28 12:08:33 -07:00
testaudiocapture.c Added SDL prefix AUDIO_* constants 2023-05-02 08:09:06 -07:00
testaudiohotplug.c testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2023-04-12 11:37:26 +02:00
testaudioinfo.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testaudiostreamdynamicresample.c tests: build tests with C90 standard 2023-05-27 01:49:07 +02:00
testautomation.c Android: let main return normally for testautomation 2023-04-14 12:26:12 +02:00
testautomation_audio.c Added SDL prefix AUDIO_* constants 2023-05-02 08:09:06 -07:00
testautomation_clipboard.c wayland: Add support for images in clipboard. 2023-05-12 07:54:56 -07:00
testautomation_events.c Fix video_getSetWindowPosition() that fail when checking events, 2023-03-24 09:52:05 +01:00
testautomation_guid.c
testautomation_hints.c
testautomation_images.c
testautomation_images.h
testautomation_intrinsics.c Use #ifdef/#ifndef instead of #if defined/#if \!defined 2023-03-30 21:35:01 +00:00
testautomation_joystick.c
testautomation_keyboard.c Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
testautomation_main.c
testautomation_math.c testautomation_math: avoid equality tests with INFINITY 2023-03-27 06:12:49 +00:00
testautomation_mouse.c
testautomation_pixels.c
testautomation_platform.c Use #ifdef/#ifndef instead of #if defined/#if \!defined 2023-03-30 21:35:01 +00:00
testautomation_rect.c
testautomation_render.c
testautomation_rwops.c Use #ifdef/#ifndef instead of #if defined/#if \!defined 2023-03-30 21:35:01 +00:00
testautomation_sdltest.c
testautomation_stdlib.c Added support for printing wide strings using "%ls" syntax 2023-05-26 13:58:10 -07:00
testautomation_suites.h Add intrinsics test automation 2023-03-21 23:03:02 +03:00
testautomation_surface.c
testautomation_syswm.c cmake+tests: include SDL_build_config.h in select tests + add include paths 2023-03-21 23:03:02 +03:00
testautomation_timer.c
testautomation_video.c SDL_GetClosestFullscreenDisplayMode() now takes a boolean whether to include high density modes 2023-05-18 12:15:23 -07:00
testbounds.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testcustomcursor.c testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2023-04-12 11:37:26 +02:00
testdisplayinfo.c Updated SDL high DPI support 2023-05-17 12:58:00 -07:00
testdraw.c
testdrawchessboard.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testdropfile.c testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2023-04-12 11:37:26 +02:00
testerror.c testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2023-04-12 11:37:26 +02:00
testevdev.c testevdev: Add some driving sim controllers from Proton issue reports 2023-05-23 08:53:19 -07:00
testfile.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testfilesystem.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testgamepad.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testgeometry.c testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2023-04-12 11:37:26 +02:00
testgl.c style fixes for SDL_PROC macros. 2023-05-19 14:10:02 +03:00
testgles.c testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2023-04-12 11:37:26 +02:00
testgles2.c style fixes for SDL_PROC macros. 2023-05-19 14:10:02 +03:00
testgles2_sdf.c tests: build tests with C90 standard 2023-05-27 01:49:07 +02:00
testgles2_sdf_img_normal.bmp
testgles2_sdf_img_sdf.bmp
testhaptic.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testhittesting.c
testhotplug.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testiconv.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testime.c Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
testintersections.c
testjoystick.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testkeys.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testloadso.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testlocale.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testlock.c Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention 2023-04-28 12:08:33 -07:00
testmessage.c testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2023-04-12 11:37:26 +02:00
testmouse.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testmultiaudio.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testnative.c testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2023-04-12 11:37:26 +02:00
testnative.h Fix uses of undefined macro identifiers (-Wundef) 2023-03-29 21:49:01 +00:00
testnativecocoa.m
testnativew32.c
testnativex11.c
testoffscreen.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testoverlay.c testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2023-04-12 11:37:26 +02:00
testplatform.c Sunset SDL_HasRDTSC 2023-03-27 06:12:49 +00:00
testpopup.c tests: build tests with C90 standard 2023-05-27 01:49:07 +02:00
testpower.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testqsort.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testrelative.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testrendercopyex.c testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2023-04-12 11:37:26 +02:00
testrendertarget.c testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2023-04-12 11:37:26 +02:00
testresample.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testrumble.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testrwlock.c Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention 2023-04-28 12:08:33 -07:00
testscale.c testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2023-04-12 11:37:26 +02:00
testsem.c Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention 2023-04-28 12:08:33 -07:00
testsensor.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testshader.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testshape.c tests: build tests with C90 standard 2023-05-27 01:49:07 +02:00
testsprite.c testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2023-04-12 11:37:26 +02:00
testspriteminimal.c testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2023-04-12 11:37:26 +02:00
teststreaming.c testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2023-04-12 11:37:26 +02:00
testsurround.c Added SDL prefix AUDIO_* constants 2023-05-02 08:09:06 -07:00
testthread.c SDL API renaming: SDL TLS functions 2023-05-26 08:33:15 -07:00
testtimer.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testurl.c
testutils.c
testutils.h
testver.c testver: don't allow any arguments 2023-03-17 17:54:16 +01:00
testviewport.c testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2023-04-12 11:37:26 +02:00
testvulkan.c tests: build tests with C90 standard 2023-05-27 01:49:07 +02:00
testwm.c Add the pixel density to the display mode list in testwm 2023-05-18 07:34:16 -07:00
testyuv.bmp
testyuv.c testprograms: parse arguments using SDLTest_CommonState 2023-03-17 17:54:16 +01:00
testyuv_cvt.c tests: build tests with C90 standard 2023-05-27 01:49:07 +02:00
testyuv_cvt.h
torturethread.c testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2023-04-12 11:37:26 +02:00
unifont-13.0.06-license.txt
unifont-13.0.06.hex
utf8.txt

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