Mercurial > sdl-ios-xcode
annotate test/Makefile.am @ 1151:be9c9c8f6d53
Removed atexit() from most of the test programs; atexit(SDL_Quit) isn't safe
if SDL is built with a non-cdecl calling convention, and it's just generally
bad practice anyhow.
Now programs explicitly call SDL_Quit() where appropriate, wrap SDL_Quit() in
a cdecl function where it can't be avoided, and rely on the parachute where
a crash might have hit the atexit() before (these ARE test programs, after
all!).
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 28 Sep 2005 11:36:20 +0000 |
parents | 68f2b997758e |
children |
rev | line source |
---|---|
0 | 1 AUTOMAKE_OPTIONS = no-dependencies |
2 | |
3 noinst_PROGRAMS = \ | |
850
c203b4a42701
Added an endian detection and byte swapping test program
Sam Lantinga <slouken@libsdl.org>
parents:
839
diff
changeset
|
4 testver testtypes testendian testcpuinfo \ |
c203b4a42701
Added an endian detection and byte swapping test program
Sam Lantinga <slouken@libsdl.org>
parents:
839
diff
changeset
|
5 testhread testlock testerror testsem testtimer \ |
0 | 6 loopwave testcdrom testkeys testvidinfo checkkeys testwin graywin \ |
7 testsprite testbitmap testalpha testgamma testpalette testwm \ | |
1039
68f2b997758e
Added testblitspeed to aid in profiling of SDL's blitters.
Ryan C. Gordon <icculus@icculus.org>
parents:
850
diff
changeset
|
8 threadwin testoverlay testoverlay2 testgl testdyngl testjoystick \ |
68f2b997758e
Added testblitspeed to aid in profiling of SDL's blitters.
Ryan C. Gordon <icculus@icculus.org>
parents:
850
diff
changeset
|
9 testblitspeed |
0 | 10 |
11 testalpha_SOURCES = testalpha.c | |
12 testalpha_LDADD = @MATHLIB@ | |
13 testgamma_SOURCES = testgamma.c | |
14 testgamma_LDADD = @MATHLIB@ | |
15 testpalette_SOURCES = testpalette.c | |
16 testpalette_LDADD = @MATHLIB@ | |
17 testgl_SOURCES = testgl.c | |
18 testgl_LDADD = @GL_LIBS@ @MATHLIB@ |