mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-14 13:26:16 +01:00
tests: Enable G_TEST_OPTIONS_ISOLATE_DIRS for bookmarkfile test
This ensures that when running many instances of the test in parallel, they don’t collide in the same current directory, and hence spuriously fail. This can happen when writing `out.xbel`, for example. Signed-off-by: Philip Withnall <withnall@endlessm.com> Fixes: #1930
This commit is contained in:
parent
a86c994255
commit
422feb743d
@ -551,7 +551,7 @@ main (int argc, char *argv[])
|
|||||||
const gchar *name;
|
const gchar *name;
|
||||||
gchar *path;
|
gchar *path;
|
||||||
|
|
||||||
g_test_init (&argc, &argv, NULL);
|
g_test_init (&argc, &argv, G_TEST_OPTION_ISOLATE_DIRS, NULL);
|
||||||
|
|
||||||
if (argc > 1)
|
if (argc > 1)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user