test/automated/testsdl.c
branchgsoc2009_unit_tests
changeset 3750 cb75359d29bb
parent 3749 1e277c40babe
child 3753 5b48a529fd8a
     1.1 --- a/test/automated/testsdl.c	Tue Aug 04 18:07:11 2009 +0000
     1.2 +++ b/test/automated/testsdl.c	Tue Aug 04 18:23:54 2009 +0000
     1.3 @@ -46,7 +46,7 @@
     1.4  {
     1.5     printf("Usage: %s [OPTIONS]\n", name);
     1.6     printf("Options are:\n");
     1.7 -   printf("   --manual        enables tests that require user interaction\n");
     1.8 +   printf("   -m, --manual    enables tests that require user interaction\n");
     1.9     printf("   --noplatform    do not run the platform tests\n");
    1.10     printf("   --norwops       do not run the rwops tests\n");
    1.11     printf("   --nosurface     do not run the surface tests\n");
    1.12 @@ -63,7 +63,7 @@
    1.13  static void parse_options( int argc, char *argv[] )
    1.14  {
    1.15     static struct option long_options[] = {
    1.16 -      { "manual", no_argument, 0, 0 },
    1.17 +      { "manual", no_argument, 0, 'm' },
    1.18        { "noplatform", no_argument, 0, 0 },
    1.19        { "norwops", no_argument, 0, 0 },
    1.20        { "nosurface", no_argument, 0, 0 },
    1.21 @@ -97,6 +97,10 @@
    1.22                 run_render = 0;
    1.23              break;
    1.24  
    1.25 +         /* Manual. */
    1.26 +         case 'm':
    1.27 +            run_manual = 1;
    1.28 +            break;
    1.29  
    1.30           /* Verbosity. */
    1.31           case 'v':