SDL/test
Carl Åstholm 5d30980df4 stdlib: Add failing tests for SDL_wcstol
These help illustrate some key differences between a specs-compliant
libc wcstol and SDL's own implementation.
2024-09-13 12:30:58 -07:00
..
android android+test: testcamera needs CAMERA permissions 2024-05-16 16:43:53 +02:00
emscripten ctest/emscripten: make audio and video driver configurable 2024-08-21 20:14:55 +02:00
n3ds
testgpu Add the SDL_GPU API 2024-08-29 15:57:29 -07:00
win32 sdlprocdump: fix minidump filename 2024-08-30 14:18:03 +02:00
CMakeLists.txt winrt: Removed WinRT/Windows Phone/UWP support. 2024-09-06 13:28:39 -04:00
COPYING
README rwops: Changed filenames that reference "rwops" to "iostream". 2024-03-14 23:30:59 -04:00
audiofile.bmp test: Added testaudio 2023-08-02 15:02:32 -04:00
checkkeys.c Use SDL_bool where appropriate in SDL events 2024-09-09 14:00:19 -07:00
gamepad_axis.bmp
gamepad_axis.h
gamepad_axis_arrow.bmp
gamepad_axis_arrow.h
gamepad_back.bmp
gamepad_back.h
gamepad_battery.bmp Separate joystick power state into battery status and percentage 2024-04-01 13:59:00 -07:00
gamepad_battery.h Fixed crashes when a window has NULL driverdata 2024-04-15 10:15:10 -07:00
gamepad_battery_unknown.bmp
gamepad_battery_unknown.h
gamepad_battery_wired.bmp
gamepad_battery_wired.h
gamepad_button.bmp
gamepad_button.h
gamepad_button_background.bmp
gamepad_button_background.h
gamepad_button_small.bmp
gamepad_button_small.h
gamepad_face_abxy.bmp
gamepad_face_abxy.h
gamepad_face_bayx.bmp
gamepad_face_bayx.h
gamepad_face_sony.bmp
gamepad_face_sony.h
gamepad_front.bmp
gamepad_front.h
gamepad_touchpad.bmp
gamepad_touchpad.h
gamepadutils.c Changed enums to use XXX_COUNT for the count or number of values 2024-09-11 09:32:17 -07:00
gamepadutils.h Changed enums to use XXX_COUNT for the count or number of values 2024-09-11 09:32:17 -07:00
glass.bmp Re-added a simplified version of SDL_SetWindowShape() 2024-02-09 16:04:46 -08:00
glass.h Re-added a simplified version of SDL_SetWindowShape() 2024-02-09 16:04:46 -08:00
icon.bmp
icon.h testspriteminimal: make standalone by embedding icon.bmp 2023-09-19 17:58:25 +02:00
icon2x.bmp Added support for high-DPI cursors and icons 2024-08-01 13:48:28 -07:00
logaudiodev.bmp test: Added testaudio 2023-08-02 15:02:32 -04:00
loopwave.c The parameter to SDL_AppEvent() should be non-const 2024-09-03 08:18:36 -07:00
main.cpp
moose.dat
physaudiodev.bmp test: Added testaudio 2023-08-02 15:02:32 -04:00
picture.xbm
pretest.c Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
relative_mode.markdown Renamed SDL_Get/SetRelativeMouseMode to SDL_Get/SetWindowRelativeMouseMode() 2024-08-06 07:59:45 -07:00
sample.bmp
sample.wav
soundboard.bmp testaudio: Fixed soundboard icon, which had a colorkey issue. 2023-08-03 21:35:38 -04:00
soundboard_levels.bmp test: Added testaudio 2023-08-02 15:02:32 -04:00
speaker.bmp test: Added testaudio 2023-08-02 15:02:32 -04:00
template.test.in
testatomic.c tests: add --no-threads argument to disable threads 2024-08-20 16:04:58 +00:00
testaudio-art.txt test: Added testaudio 2023-08-02 15:02:32 -04:00
testaudio.c The parameter to SDL_AppEvent() should be non-const 2024-09-03 08:18:36 -07:00
testaudiohotplug.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testaudioinfo.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testaudiorecording.c The parameter to SDL_AppEvent() should be non-const 2024-09-03 08:18:36 -07:00
testaudiostreamdynamicresample.c Additional cleanup exposed by building with a C++ compiler 2024-08-27 10:31:46 -07:00
testautomation.c SDL_test: move argument parsing into SDL_test 2024-09-06 03:06:40 +02:00
testautomation_audio.c SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
testautomation_blit.c Adding void to empty function prototype parenthesis 2024-09-11 19:44:52 -07:00
testautomation_clipboard.c SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
testautomation_events.c SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
testautomation_guid.c SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
testautomation_hints.c SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
testautomation_images.c Added SDL_BlitSurfaceTiled() 2024-07-20 18:21:19 -07:00
testautomation_images.h Added SDL_BlitSurfaceTiled() 2024-07-20 18:21:19 -07:00
testautomation_intrinsics.c SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
testautomation_iostream.c SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
testautomation_joystick.c Changed enums to use XXX_COUNT for the count or number of values 2024-09-11 09:32:17 -07:00
testautomation_keyboard.c Changed enums to use XXX_COUNT for the count or number of values 2024-09-11 09:32:17 -07:00
testautomation_log.c SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
testautomation_main.c SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
testautomation_math.c SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
testautomation_mouse.c SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
testautomation_pixels.c SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
testautomation_platform.c SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
testautomation_properties.c SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
testautomation_rect.c SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
testautomation_render.c SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
testautomation_sdltest.c SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
testautomation_stdlib.c stdlib: Add failing tests for SDL_wcstol 2024-09-13 12:30:58 -07:00
testautomation_subsystems.c SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
testautomation_suites.h pen: Rework public API. 2024-08-09 22:09:23 -04:00
testautomation_surface.c Fix -Wtype-limits warning 2024-09-09 14:40:50 +02:00
testautomation_time.c SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
testautomation_timer.c SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
testautomation_video.c SDL_test: use SDLCALL calling convention 2024-09-06 14:19:05 +02:00
testbounds.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testcamera.c The parameter to SDL_AppEvent() should be non-const 2024-09-03 08:18:36 -07:00
testcolorspace.c testcolorspace: don't tonemap from HDR to SDR when reading pixels 2024-09-11 14:23:58 -07:00
testcontroller.c Changed enums to use XXX_COUNT for the count or number of values 2024-09-11 09:32:17 -07:00
testcustomcursor.c Changed enums to use XXX_COUNT for the count or number of values 2024-09-11 09:32:17 -07:00
testdialog.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testdisplayinfo.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testdraw.c tests: start memory tracking first + clean up cached text textures 2024-07-27 13:44:04 +02:00
testdrawchessboard.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testdropfile.c Fix warnings: calloc-transposed-args 2024-09-08 19:28:11 -07:00
testerror.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testevdev.c Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() 2024-07-28 08:05:31 -07:00
testffmpeg.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testffmpeg_vulkan.c Fix warnings: calloc-transposed-args 2024-09-08 19:28:11 -07:00
testffmpeg_vulkan.h testffmpeg_vulkan: fix -Wincompatible-pointer-types warning 2024-03-22 11:05:13 -07:00
testfile.c Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() 2024-07-28 08:05:31 -07:00
testfilesystem.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testgeometry.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testgl.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testgles.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testgles2.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testgles2_sdf.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testgles2_sdf_img_normal.bmp
testgles2_sdf_img_sdf.bmp
testgpu_simple_clear.c GPU: Rename struct members and parameters for SDL3 naming conventions (#10730) 2024-09-06 16:38:23 -07:00
testgpu_spinning_cube.c gpu: Rework driver name queries, add GetGPUShaderFormats 2024-09-13 12:29:40 -04:00
testhaptic.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testhittesting.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testhotplug.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testiconv.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testime.c Use SDL_GetError() for SDL_ttf errors 2024-08-27 19:02:28 -07:00
testintersections.c Added SDL_BLENDMODE_BLEND_PREMULTIPLIED and SDL_BLENDMODE_ADD_PREMULTIPLIED 2024-07-15 14:12:33 -07:00
testkeys.c Changed enums to use XXX_COUNT for the count or number of values 2024-09-11 09:32:17 -07:00
testloadso.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testlocale.c Removed temporary memory from the API 2024-07-26 20:59:14 -07:00
testlock.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testmanymouse.c Use SDL_bool where appropriate in SDL events 2024-09-09 14:00:19 -07:00
testmessage.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testmodal.c video: Allow setting the parents of toplevel windows 2024-09-05 15:22:23 -04:00
testmouse.c Use SDL_bool where appropriate in SDL events 2024-09-09 14:00:19 -07:00
testmultiaudio.c testmultiaudio: initialize audio through SDL_test framework 2024-09-06 03:06:40 +02:00
testnative.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testnative.h Include SDL_build_config.h without a 'build_config/' prefix 2024-08-23 00:51:35 +00:00
testnativecocoa.m
testnativew32.c Make testnative (on win32) UNICODE compatible 2024-06-20 15:40:32 +02:00
testnativewayland.c Renamed SDL_Get/SetProperty() to SDL_Get/SetPointerProperty() 2024-07-12 10:41:02 -07:00
testnativex11.c Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testoffscreen.c Fix testoffscreen.c: bool literal returned from 'main' 2024-09-11 01:49:45 -04:00
testoverlay.c Simplified SDL_Surface 2024-07-10 00:48:18 -07:00
testpen.c Changed enums to use XXX_COUNT for the count or number of values 2024-09-11 09:32:17 -07:00
testplatform.c Make sure we call SDL_Quit() before SDLTest_CommonDestroyState() 2024-07-28 08:05:31 -07:00
testpopup.c tests: start memory tracking first + clean up cached text textures 2024-07-27 13:44:04 +02:00
testpower.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testqsort.c SDL_strtoll(), SDL_strtoull(), SDL_lltoa(), and SDL_ulltoa() use long long values 2024-09-09 15:46:26 -07:00
testrelative.c Adding void to empty function prototype parenthesis 2024-09-11 19:44:52 -07:00
testrendercopyex.c Backed out the viewport and cliprect changes in 9fb5a9ccac 2024-06-12 19:25:15 -07:00
testrendertarget.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testresample.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testrumble.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testrwlock.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testscale.c Backed out the viewport and cliprect changes in 9fb5a9ccac 2024-06-12 19:25:15 -07:00
testsem.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testsensor.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testshader.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testshape.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testsprite.c The parameter to SDL_AppEvent() should be non-const 2024-09-03 08:18:36 -07:00
testspriteminimal.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testspritesurface.c Fixed warning C4244: '=': conversion from 'float' to 'int', possible loss of data 2024-07-16 21:32:17 -07:00
teststreaming.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testsurround.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testthread.c Use atomic variables for thread communication 2024-09-05 06:05:49 -07:00
testtime.c tests: start memory tracking first + clean up cached text textures 2024-07-27 13:44:04 +02:00
testtimer.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testurl.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testutils.c testutils: use SDL_asprintf() to simplify path composition 2024-07-27 08:41:06 -07:00
testutils.h Updated copyright for 2024 2024-01-01 13:15:26 -08:00
testver.c Updated logging functions for SDL3 naming convention 2024-05-16 10:22:15 -07:00
testviewport.c Backed out the viewport and cliprect changes in 9fb5a9ccac 2024-06-12 19:25:15 -07:00
testvulkan.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testwaylandcustom.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testwm.c Changed enums to use XXX_COUNT for the count or number of values 2024-09-11 09:32:17 -07:00
testyuv.bmp
testyuv.c Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
testyuv_cvt.c testyuv: added validation of P010 YUV format 2024-03-01 20:26:52 -08:00
testyuv_cvt.h testyuv: added validation of P010 YUV format 2024-03-01 20:26:52 -08:00
torturethread.c Use atomic variables for thread communication 2024-09-05 06:05:49 -07:00
trashcan.bmp test: Added testaudio 2023-08-02 15:02:32 -04:00
unifont-15.1.05-license.txt Updated unifont to version 15.1.05 2024-06-27 17:43:03 -07:00
unifont-15.1.05.hex Updated unifont to version 15.1.05 2024-06-27 17:43:03 -07:00
utf8.txt

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
	testsurround	Audio test -- play test tone on each audio channel
	testaudioinfo	Lists audio device capabilities
	testerror	Tests multi-threaded error handling
	testfile	Tests SDL_IOStream layer
	testgl		A very simple example of using OpenGL with SDL
	testiconv	Tests international string conversion
	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!