Quiet tests shouldn't prompt during assertions
authorSam Lantinga <slouken@libsdl.org>
Wed, 13 Jan 2010 08:52:47 +0000
changeset 3658 1a99755b3b04
parent 3657 eaea59cee6f2
child 3659 61eab53fd6fe
Quiet tests shouldn't prompt during assertions
test/automated/testsdl.c
--- 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) {