Mercurial > sdl-ios-xcode
changeset 3750:cb75359d29bb gsoc2009_unit_tests
Missed a few things in the last patch.
author | Edgar Simo <bobbens@gmail.com> |
---|---|
date | Tue, 04 Aug 2009 18:23:54 +0000 |
parents | 1e277c40babe |
children | 4a58821c9c98 |
files | test/automated/testsdl.c |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/test/automated/testsdl.c Tue Aug 04 18:07:11 2009 +0000 +++ b/test/automated/testsdl.c Tue Aug 04 18:23:54 2009 +0000 @@ -46,7 +46,7 @@ { printf("Usage: %s [OPTIONS]\n", name); printf("Options are:\n"); - printf(" --manual enables tests that require user interaction\n"); + printf(" -m, --manual enables tests that require user interaction\n"); printf(" --noplatform do not run the platform tests\n"); printf(" --norwops do not run the rwops tests\n"); printf(" --nosurface do not run the surface tests\n"); @@ -63,7 +63,7 @@ static void parse_options( int argc, char *argv[] ) { static struct option long_options[] = { - { "manual", no_argument, 0, 0 }, + { "manual", no_argument, 0, 'm' }, { "noplatform", no_argument, 0, 0 }, { "norwops", no_argument, 0, 0 }, { "nosurface", no_argument, 0, 0 }, @@ -97,6 +97,10 @@ run_render = 0; break; + /* Manual. */ + case 'm': + run_manual = 1; + break; /* Verbosity. */ case 'v':