mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-05 05:09:21 +02:00
Add undefined/no-undefined mode options to GTester
https://bugzilla.gnome.org/show_bug.cgi?id=666116
This commit is contained in:
committed by
Matthias Clasen
parent
fa4792c35e
commit
993de34a77
@@ -98,6 +98,7 @@ void g_test_init (int *argc,
|
||||
#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)
|
||||
#define g_test_undefined() (g_test_config_vars->test_undefined)
|
||||
/* run all tests under toplevel suite (path: /) */
|
||||
int g_test_run (void);
|
||||
/* hook up a test functions under test path */
|
||||
@@ -234,6 +235,7 @@ typedef struct {
|
||||
gboolean test_perf; /* run performance tests */
|
||||
gboolean test_verbose; /* extra info */
|
||||
gboolean test_quiet; /* reduce output */
|
||||
gboolean test_undefined; /* run tests that are meant to assert */
|
||||
} GTestConfig;
|
||||
GLIB_VAR const GTestConfig * const g_test_config_vars;
|
||||
|
||||
|
Reference in New Issue
Block a user