Add scaffolding for a new test-internals binary

* There is a gcal_tests_add_internal() function...

* called from tests/test-internals.c...

* ... which doesn't add any tests yet, but we'll have some soon.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/550>
This commit is contained in:
Federico Mena Quintero
2025-08-27 19:59:57 -03:00
committed by Georges Basile Stavracas Neto
parent cdc602bb1f
commit a0a817ee8a
7 changed files with 51 additions and 0 deletions
+1
View File
@@ -35,6 +35,7 @@ tests = [
'daylight-saving',
#'discoverer', # https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1251
'event',
'internals',
'range',
'range-tree',
#'server', # https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1251
+17
View File
@@ -0,0 +1,17 @@
#include <glib.h>
#include <locale.h>
#include "gui/gcal-tests.h"
int
main (int argc, char **argv)
{
g_setenv ("TZ", "UTC", TRUE);
g_test_init (&argc, &argv, NULL);
g_test_bug_base ("https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/");
gcal_tests_add_internals ();
return g_test_run ();
}