Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Quiet tests shouldn't prompt during assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 13, 2010
1 parent bcc20e6 commit 43f9915
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/automated/testsdl.c
Expand Up @@ -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) {
Expand Down

0 comments on commit 43f9915

Please sign in to comment.