diff 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
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) {