diff --git a/gio/tests/gdbus-introspection.c b/gio/tests/gdbus-introspection.c index a93c776de..e7fab2b39 100644 --- a/gio/tests/gdbus-introspection.c +++ b/gio/tests/gdbus-introspection.c @@ -135,7 +135,7 @@ test_introspection_parser (void) */ usleep (500 * 1000); /* this is safe; testserver will exit once the bus goes away */ - g_assert (g_spawn_command_line_async ("./gdbus-testserver.py", NULL)); + g_assert (g_spawn_command_line_async (SRCDIR "/gdbus-testserver.py", NULL)); g_main_loop_run (loop); diff --git a/gio/tests/gdbus-threading.c b/gio/tests/gdbus-threading.c index 1de395c3b..3fe0f7bea 100644 --- a/gio/tests/gdbus-threading.c +++ b/gio/tests/gdbus-threading.c @@ -507,7 +507,7 @@ main (int argc, usleep (500 * 1000); /* this is safe; testserver will exit once the bus goes away */ - g_assert (g_spawn_command_line_async ("./gdbus-testserver.py", NULL)); + g_assert (g_spawn_command_line_async (SRCDIR "/gdbus-testserver.py", NULL)); /* wait for the service to come up */ usleep (500 * 1000);