# HG changeset patch # User Sam Lantinga # Date 1263372767 0 # Node ID 1a99755b3b04c1fb0a032b54efd961d8cbe129d2 # Parent eaea59cee6f2d2e00583cbba2a6f27225a41dc68 Quiet tests shouldn't prompt during assertions diff -r eaea59cee6f2 -r 1a99755b3b04 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) {