mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-05 05:09:21 +02:00
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
This commit is contained in:
committed by
Tim Janik
parent
3869c33a73
commit
d4bfa601f7
@@ -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)
|
||||
|
Reference in New Issue
Block a user