Add GChecksum, a generic wrapper around various hashing algorithms. At the
[platform/upstream/glib.git] / glib / gtestutils.h
index 2b60b72..d2c9690 100644 (file)
@@ -67,6 +67,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_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)
@@ -180,12 +181,13 @@ void    g_test_add_vtable               (const char     *testpath,
                                          void          (*data_test)     (void),
                                          void          (*data_teardown) (void));
 typedef struct {
+  gboolean      test_initialized;
   gboolean      test_quick;     /* disable thorough tests */
   gboolean      test_perf;      /* run performance tests */
   gboolean      test_verbose;   /* extra info */
   gboolean      test_quiet;     /* reduce output */
 } GTestConfig;
-GLIB_VAR const GTestConfig *g_test_config_vars;
+GLIB_VAR const GTestConfig * const g_test_config_vars;
 
 /* internal logging API */
 typedef enum {