[glib] More !srcdir build fixes



commit 159f533abf9e653fa31dba5b3c12f024165c29db
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri May 14 10:25:31 2010 -0400

    More !srcdir build fixes

 gio/tests/gdbus-introspection.c |    2 +-
 gio/tests/gdbus-threading.c     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/tests/gdbus-introspection.c b/gio/tests/gdbus-introspection.c
index a93c776..e7fab2b 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 1de395c..3fe0f7b 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);



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