added -m=thorough support to gtester.

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
This commit is contained in:
17:58:18 Tim Janik 2007-12-05 16:56:05 +00:00 committed by Tim Janik
parent d4bfa601f7
commit ae2157fa45
2 changed files with 7 additions and 2 deletions

View File

@ -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,

View 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)
{