added -m=thorough support to gtester.
author17:58:18 Tim Janik <timj@imendio.com>
Wed, 5 Dec 2007 16:56:05 +0000 (16:56 +0000)
committerTim Janik <timj@src.gnome.org>
Wed, 5 Dec 2007 16:56:05 +0000 (16:56 +0000)
2007-12-05 17:58:18  Tim Janik  <timj@imendio.com>

        * glib/gtester.c: added -m=thorough support to gtester.

svn path=/trunk/; revision=6053

ChangeLog
glib/gtester.c

index eb908f6..7cef980 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-12-05 17:58:18  Tim Janik  <timj@imendio.com>
+
+       * glib/gtester.c: added -m=thorough support to gtester.
+
 2007-12-05 17:21:05  Tim Janik  <timj@imendio.com>
 
        * glib/glib/gtestutils.c: print out random seed for verbose tests,
index f3aaee9..499858f 100644 (file)
@@ -410,7 +410,8 @@ usage (gboolean just_version)
   g_print ("  --g-fatal-warnings          make warnings fatal (abort)\n");
   g_print ("  -k, --keep-going            continue running after tests failed\n");
   g_print ("  -l                          list paths of available test cases\n");
-  g_print ("  -m=perf, -m=slow, -m=quick  run test cases in mode perf, slow or quick (default)\n");
+  g_print ("  -m=perf, -m=slow, -m=quick -m=thorough\n");
+  g_print ("                              run test cases in mode perf, slow/thorough or quick (default)\n");
   g_print ("  -p=TESTPATH                 only start test cases matching TESTPATH\n");
   g_print ("  --seed=SEEDSTRING           start all tests with random number seed SEEDSTRING\n");
   g_print ("  -o=LOGFILE                  write the test log to LOGFILE\n");
@@ -508,7 +509,7 @@ parse_args (gint    *argc_p,
             }
           if (strcmp (mode, "perf") == 0)
             subtest_mode_perf = TRUE;
-          else if (strcmp (mode, "slow") == 0)
+          else if (strcmp (mode, "slow") == 0 || strcmp (mode, "thorough") == 0)
             subtest_mode_quick = FALSE;
           else if (strcmp (mode, "quick") == 0)
             {