testglib and user-dirs.dirs
- From: Asbjørn <asbgpe online no>
- To: gtk-devel-list gnome org
- Cc: Tim Janik <timj imendio com>
- Subject: testglib and user-dirs.dirs
- Date: Mon, 31 Dec 2007 18:36:47 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]