diff test/automated/testsdl.c @ 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 5b48a529fd8a
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':