diff options
author | 17:21:05 Tim Janik <timj@imendio.com> | 2007-12-05 16:22:44 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2007-12-05 16:22:44 +0000 |
commit | d4bfa601f7af11c2ca7c3866e67d49e379d82aad (patch) | |
tree | fb61a0877e5c433911e0c15546bbc9d6f100d8d9 /glib/gtestutils.h | |
parent | 3869c33a73c89e1f2f916f6bd6dd85a06b34a08d (diff) | |
download | glib-d4bfa601f7af11c2ca7c3866e67d49e379d82aad.tar.gz |
print out random seed for verbose tests, also adapted test result
2007-12-05 17:21:05 Tim Janik <timj@imendio.com>
* glib/glib/gtestutils.c: print out random seed for verbose tests,
also adapted test result reporting slightly in verbose mode to allow
custom debugging output. support "thorough" as test mode alis for "slow".
* glib/glib/gtestutils.h: added g_test_thorough().
* glib/glib/gtester.c: print out the last random seed when tests fail.
added result attribute to test case status logging to easily spot
failing tests in log files. disabled debugging output when skipping tests.
svn path=/trunk/; revision=6052
Diffstat (limited to 'glib/gtestutils.h')
-rw-r--r-- | glib/gtestutils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/glib/gtestutils.h b/glib/gtestutils.h index ccbbcb098..96a241074 100644 --- a/glib/gtestutils.h +++ b/glib/gtestutils.h @@ -68,6 +68,7 @@ void g_test_init (int *argc, /* query testing framework config */ #define g_test_quick() (g_test_config_vars->test_quick) #define g_test_slow() (!g_test_config_vars->test_quick) +#define g_test_thorough() (!g_test_config_vars->test_quick) #define g_test_perf() (g_test_config_vars->test_perf) #define g_test_verbose() (g_test_config_vars->test_verbose) #define g_test_quiet() (g_test_config_vars->test_quiet) |