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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]