Quiet tests shouldn't prompt during assertions
authorSam Lantinga <slouken@libsdl.org>
Wed, 13 Jan 2010 08:52:47 +0000
changeset 36581a99755b3b04
parent 3657 eaea59cee6f2
child 3659 61eab53fd6fe
Quiet tests shouldn't prompt during assertions
test/automated/testsdl.c
     1.1 --- a/test/automated/testsdl.c	Wed Jan 13 08:44:46 2010 +0000
     1.2 +++ b/test/automated/testsdl.c	Wed Jan 13 08:52:47 2010 +0000
     1.3 @@ -93,6 +93,7 @@
     1.4        }
     1.5        if (SDL_strcmp(arg, "-q") == 0 || SDL_strcmp(arg, "--quiet") == 0) {
     1.6           SDL_ATseti( SDL_AT_QUIET, 1 );
     1.7 +         SDL_setenv("SDL_ASSERT", "abort", 0);
     1.8           continue;
     1.9        }
    1.10        if (SDL_strcmp(arg, "--noplatform") == 0) {