testglib and user-dirs.dirs
- Date: Mon, 31 Dec 2007 18:36:47 +0100
- From: Asbjørn <asbgpe@xxxxxxxxx>
- Subject: testglib and user-dirs.dirs
I'm looking into the test framework, and i almost get it to run without any
errors.
When i trying in the /glib/tests with:
make test
** ERROR:(testglib.c:792):test_info: assertion failed: (udddocs != NULL)
I found out that the error is because the file <home>/.config/user-dirs.dirs
is missing. I'm running KDE and Mandriva 2007.
Is those test for GNOME ?
If so it shouldn't be required in testglib.c
code:
uddesktop = g_get_user_special_dir (G_USER_DIRECTORY_DESKTOP);
g_assert (uddesktop != NULL);
udddocs = g_get_user_special_dir (G_USER_DIRECTORY_DOCUMENTS);
g_assert (udddocs != NULL);
uddpubshare = g_get_user_special_dir (G_USER_DIRECTORY_PUBLIC_SHARE);
g_assert (uddpubshare != NULL);
Rgds
Asbjorn Pettersen
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-devel-list