# HG changeset patch # User Edgar Simo # Date 1249410234 0 # Node ID cb75359d29bbddb06924339a748713e362e2d800 # Parent 1e277c40babe244ccd4467e0d76c6de1d551dc18 Missed a few things in the last patch. diff -r 1e277c40babe -r cb75359d29bb test/automated/testsdl.c --- 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':