Missed a few things in the last patch. gsoc2009_unit_tests
authorEdgar Simo <bobbens@gmail.com>
Tue, 04 Aug 2009 18:23:54 +0000
branchgsoc2009_unit_tests
changeset 3750 cb75359d29bb
parent 3749 1e277c40babe
child 3751 4a58821c9c98
Missed a few things in the last patch.
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':