tests: Set TZ before running tests
Otherwise, we're depending on the host machine to run the tests.
This commit is contained in:
@@ -221,6 +221,8 @@ gint
|
|||||||
main (gint argc,
|
main (gint argc,
|
||||||
gchar *argv[])
|
gchar *argv[])
|
||||||
{
|
{
|
||||||
|
g_setenv ("TZ", "UTC", TRUE);
|
||||||
|
|
||||||
g_test_init (&argc, &argv, NULL);
|
g_test_init (&argc, &argv, NULL);
|
||||||
|
|
||||||
g_test_add_func ("/event/new", event_new);
|
g_test_add_func ("/event/new", event_new);
|
||||||
|
|||||||
Reference in New Issue
Block a user