SDL-mirror/test
Sam Lantinga fe2bb8805e Fixed bug 1973 - test/Makefile.in fails on Mac OS X with X11 enabled...
Ryan C. Gordon

If you have the X11 SDK installed on Mac OS X, you'll build with X11 support, but the Makefile doesn't build anything but the Cocoa testnative code for Mac OS X, which is fine, but then testnative fails to link because testnative.h enables the X11 support based on the SDL config header.

Building the testnativex11.c code on Mac OS X doesn't work because you need to explicitly link with "-L/usr/X11/lib -lX11" if this code is enabled, but you can't link with that by default because the X11 SDK might be missing.

So this needs a little configure magic to do the right thing (or forcibly disabling X11 support on Mac OS X in testnative.h).
2013-07-21 12:47:47 -07:00
..
shapes Remove superflous sample shapes (same BMPs) 2010-09-15 22:33:46 -07:00
acinclude.m4 Switched the SDL 2 autoconf macro to AM_PATH_SDL2 2012-01-30 21:39:26 -05:00
aclocal.m4 Switched the SDL 2 autoconf macro to AM_PATH_SDL2 2012-01-30 21:39:26 -05:00
autogen.sh Added yet another variant of autoconf to the list 2006-05-15 06:39:10 +00:00
checkkeys.c Better text printing for UTF-8 characters 2013-06-24 22:06:50 -07:00
configure Fixed bug 1973 - test/Makefile.in fails on Mac OS X with X11 enabled... 2013-07-21 12:47:47 -07:00
configure.in Fixed bug 1973 - test/Makefile.in fails on Mac OS X with X11 enabled... 2013-07-21 12:47:47 -07:00
COPYING Updated the source with the correct e-mail address 2001-12-14 12:38:15 +00:00
gcc-fat.sh Fat test programs! :) 2006-05-09 16:10:04 +00:00
icon.bmp Switched data files to binary format 2003-11-24 00:21:24 +00:00
loopwave.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
Makefile.in Fixed bug 1973 - test/Makefile.in fails on Mac OS X with X11 enabled... 2013-07-21 12:47:47 -07:00
moose.dat Date: Mon, 28 Jul 2003 18:30:50 +0300 2003-08-08 21:31:18 +00:00
picture.xbm Initial revision 2001-04-26 16:45:43 +00:00
README Updated the README and removed the old graywin test 2012-01-22 22:30:27 -05:00
relative_mode.markdown Test plan for relative mode. 2013-04-24 12:20:44 -07:00
sample.bmp Switched data files to binary format 2003-11-24 00:21:24 +00:00
sample.wav Switched data files to binary format 2003-11-24 00:21:24 +00:00
testatomic.c Removed unused variable and not needed assignment in test program. 2013-07-13 21:05:13 +02:00
testaudioinfo.c Fixed printf() usage in test program. 2013-07-13 21:02:23 +02:00
testautomation.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
testautomation_audio.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
testautomation_clipboard.c Replaced use of strcmp() with SDL_strcmp() in tests. 2013-07-20 21:39:54 +02:00
testautomation_events.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
testautomation_keyboard.c Add missing VS2012 test projects; update VS2010 and VS2012 solutions; update keybord suite for VS compiler warnings 2013-06-03 19:24:18 -07:00
testautomation_main.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
testautomation_mouse.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
testautomation_pixels.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
testautomation_platform.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
testautomation_rect.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
testautomation_render.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
testautomation_rwops.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
testautomation_sdltest.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
testautomation_stdlib.c Fixed test description in test suite for standard library. 2013-05-26 12:12:52 +02:00
testautomation_suites.h Added the beginning of automated tests for the standard C library routines. 2013-05-24 03:23:21 -07:00
testautomation_surface.c Removed some unused variables. 2013-07-11 12:27:39 -04:00
testautomation_syswm.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
testautomation_timer.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
testautomation_video.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
testdraw2.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
testerror.c 1.3 API CHANGE: Add support for naming threads. 2011-10-02 00:29:16 -04:00
testfile.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
testgamecontroller.c Removed not needed SDL_WINDOW_SHOWN from test programs. 2013-07-20 21:47:16 +02:00
testgesture.c Fixed compiler warnings in test program by using wrapped functions. 2013-07-14 19:56:22 +02:00
testgl2.c change fsaa argument for testgl to accept a # of samples for FSAA 2013-07-08 17:51:17 -04:00
testgles.c Switched the test code over to use the common functions in the test library. 2012-12-31 10:26:38 -08:00
testhaptic.c Changed haptic test program to use announced effect type. 2013-06-02 14:18:26 +02:00
testiconv.c Fixed compiler warnings in test programs. 2013-07-13 21:13:09 +02:00
testime.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
testintersections.c Fixed compiler warnings in test programs. 2013-07-13 21:13:09 +02:00
testjoystick.c Removed not needed SDL_WINDOW_SHOWN from test programs. 2013-07-20 21:47:16 +02:00
testkeys.c SDL 1.3 is now under the zlib license. 2011-04-08 13:03:26 -07:00
testloadso.c Fixed compiler warnings in test programs. 2013-07-13 21:13:09 +02:00
testlock.c Fixed compiler warnings in test programs by adding includes directives. 2013-07-14 13:27:19 +02:00
testmessage.c Removed not needed SDL_WINDOW_SHOWN from test programs. 2013-07-20 21:47:16 +02:00
testmultiaudio.c testmultiaudio.c needs to #include <stdio.h>. 2011-08-03 03:12:07 -04:00
testnative.c Fixed compiler warnings in test programs by adding return statements. 2013-07-14 13:30:26 +02:00
testnative.h Updated SDL test projects 2012-01-07 17:08:17 -05:00
testnativecocoa.m Added test program for SDL_CreateWindowFrom() 2009-02-09 05:32:12 +00:00
testnativew32.c SDL 1.3 is now under the zlib license. 2011-04-08 13:03:26 -07:00
testnativex11.c SDL 1.3 is now under the zlib license. 2011-04-08 13:03:26 -07:00
testoverlay2.c Removed not needed SDL_WINDOW_SHOWN from test programs. 2013-07-20 21:47:16 +02:00
testplatform.c Fixed another printf() compiler warning, this time in the 1.3 branch. 2011-08-23 03:12:27 -04:00
testpower.c Fixed SDL building with the minimal configuration 2013-06-13 22:10:10 -07:00
testrelative.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
testrendercopyex.c Removed unused window size constants 2013-03-17 09:47:25 -07:00
testrendertarget.c Removed unused window size constants 2013-03-17 09:47:25 -07:00
testresample.c Fixed compiler warnings in test program by using wrapped functions. 2013-07-14 13:33:54 +02:00
testrumble.c Fixed compiler warnings in test programs. 2013-07-13 21:13:09 +02:00
testscale.c Switched the test code over to use the common functions in the test library. 2012-12-31 10:26:38 -08:00
testsem.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
testshader.c Fixed compiler warnings in test programs by adding includes directives. 2013-07-14 13:27:19 +02:00
testshape.c Replaced use of malloc()/free() with SDL_malloc()/SDL_free() in test program. 2013-07-20 21:51:53 +02:00
testsprite2.c Update testsprite2 for visual testing: user fuzzer and add --iteration parameter to enable deterministic screen end-state 2013-06-23 15:00:23 -07:00
testspriteminimal.c Fixed compiler warnings in test programs by adding return statements. 2013-07-14 13:30:26 +02:00
teststreaming.c Removed not needed SDL_WINDOW_SHOWN from test programs. 2013-07-20 21:47:16 +02:00
testthread.c Added release/acquire memory barriers to the atomic API 2013-07-10 18:31:17 -07:00
testtimer.c Fixed compiler warning in testtimer.c 2013-07-14 13:25:49 -04:00
testver.c Removing some more references to SDL 1.3 2012-01-22 17:26:45 -05:00
testwm2.c File style cleanup for the SDL 2.0 release 2013-05-18 14:17:52 -07:00
torturethread.c 1.3 API CHANGE: Add support for naming threads. 2011-10-02 00:29:16 -04:00
utf8.txt Updated by Ryan Gordon 2006-03-13 16:56:01 +00:00

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
	testaudioinfo	Lists audio device capabilities
	testcdrom	Sample audio CD control program
	testerror	Tests multi-threaded error handling
	testfile	Tests RWops layer
	testgl2		A very simple example of using OpenGL with SDL
	testhread	Hacked up test of multi-threading
	testiconv	Tests international string conversion
	testjoystick	List joysticks and watch joystick events
	testkeys	List the available keyboard keys
	testloadso	Tests the loadable library layer
	testlock	Hacked up test of multi-threading and locking
	testmultiaudio	Tests using several audio devices
	testoverlay2	Tests the overlay flickering/scaling during playback.
	testpalette	Tests palette color cycling
	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
	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