Mercurial > sdl-ios-xcode
changeset 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 | eaea59cee6f2 |
children | 61eab53fd6fe |
files | test/automated/testsdl.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/test/automated/testsdl.c Wed Jan 13 08:44:46 2010 +0000 +++ b/test/automated/testsdl.c Wed Jan 13 08:52:47 2010 +0000 @@ -93,6 +93,7 @@ } if (SDL_strcmp(arg, "-q") == 0 || SDL_strcmp(arg, "--quiet") == 0) { SDL_ATseti( SDL_AT_QUIET, 1 ); + SDL_setenv("SDL_ASSERT", "abort", 0); continue; } if (SDL_strcmp(arg, "--noplatform") == 0) {