Run tests without requiring a display
This commit is contained in:
parent
95e629679b
commit
d9cc5a6592
3 changed files with 3 additions and 3 deletions
|
@ -285,7 +285,7 @@ main (int argc,
|
|||
char** argv)
|
||||
{
|
||||
g_test_init (&argc, &argv, NULL);
|
||||
gtk_init (&argc, &argv);
|
||||
gtk_init_check (&argc, &argv);
|
||||
|
||||
g_test_add_func ("/completion/count", completion_count);
|
||||
g_test_add_func ("/completion/fill", completion_fill);
|
||||
|
|
|
@ -90,7 +90,7 @@ main (int argc,
|
|||
char** argv)
|
||||
{
|
||||
g_test_init (&argc, &argv, NULL);
|
||||
gtk_init (&argc, &argv);
|
||||
gtk_init_check (&argc, &argv);
|
||||
|
||||
g_test_add_func ("/extensions/create", extension_create);
|
||||
g_test_add_func ("/extensions/settings", extension_settings);
|
||||
|
|
|
@ -25,7 +25,7 @@ main (int argc,
|
|||
gchar* uri;
|
||||
gchar* a, *b;
|
||||
|
||||
gtk_init (&argc, &argv);
|
||||
gtk_init_check (&argc, &argv);
|
||||
|
||||
search_engines = katze_array_new (KATZE_TYPE_ITEM);
|
||||
item = g_object_new (KATZE_TYPE_ITEM,
|
||||
|
|
Loading…
Reference in a new issue