Mercurial > sdl-ios-xcode
comparison test/automated/testsdl.c @ 3658:1a99755b3b04
Quiet tests shouldn't prompt during assertions
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 13 Jan 2010 08:52:47 +0000 |
parents | f638ded38b8a |
children | c84712de8433 |
comparison
equal
deleted
inserted
replaced
3657:eaea59cee6f2 | 3658:1a99755b3b04 |
---|---|
91 SDL_ATseti( SDL_AT_VERBOSE, level+1 ); | 91 SDL_ATseti( SDL_AT_VERBOSE, level+1 ); |
92 continue; | 92 continue; |
93 } | 93 } |
94 if (SDL_strcmp(arg, "-q") == 0 || SDL_strcmp(arg, "--quiet") == 0) { | 94 if (SDL_strcmp(arg, "-q") == 0 || SDL_strcmp(arg, "--quiet") == 0) { |
95 SDL_ATseti( SDL_AT_QUIET, 1 ); | 95 SDL_ATseti( SDL_AT_QUIET, 1 ); |
96 SDL_setenv("SDL_ASSERT", "abort", 0); | |
96 continue; | 97 continue; |
97 } | 98 } |
98 if (SDL_strcmp(arg, "--noplatform") == 0) { | 99 if (SDL_strcmp(arg, "--noplatform") == 0) { |
99 run_platform = 0; | 100 run_platform = 0; |
100 continue; | 101 continue; |