diff options
author | Sam Lantinga <slouken@libsdl.org> | 2010-01-13 08:52:47 +0000 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2010-01-13 08:52:47 +0000 |
commit | a7f9985e1f68219fe99bce3ede2b3c8808e951ef (patch) | |
tree | 4d4929cf788bf97b7e99dc9801dd578d8ae5a225 | |
parent | 5676823dcf073410ee17a5b82e0496ebee8cb87c (diff) |
Quiet tests shouldn't prompt during assertions
-rw-r--r-- | test/automated/testsdl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/automated/testsdl.c b/test/automated/testsdl.c index 9d3576da13..917e923e80 100644 --- a/test/automated/testsdl.c +++ b/test/automated/testsdl.c @@ -93,6 +93,7 @@ static void parse_options( int argc, char *argv[] ) } 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) { |