More !srcdir build fixes
authorMatthias Clasen <mclasen@redhat.com>
Fri, 14 May 2010 14:25:31 +0000 (10:25 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 14 May 2010 14:25:31 +0000 (10:25 -0400)
gio/tests/gdbus-introspection.c
gio/tests/gdbus-threading.c

index a93c776..e7fab2b 100644 (file)
@@ -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);
 
index 1de395c..3fe0f7b 100644 (file)
@@ -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);