gio/tests: fix output of gdbus-proxy-threads and gdbus-threading

Make gdbus-proxy-threads and gdbus-threading print a newline at the
end of their progress strings, to avoid messing up their TAP-format
output.

https://bugzilla.gnome.org/show_bug.cgi?id=711796
This commit is contained in:
Dan Winship
2013-11-10 13:26:01 -05:00
committed by Matthias Clasen
parent c762a3a3f6
commit 8f5b40c046
2 changed files with 13 additions and 4 deletions

View File

@@ -73,7 +73,8 @@ run_proxy_thread (gpointer data)
GError *error = NULL;
GVariant *ret;
g_print (".");
if (!g_test_quiet ())
g_print (".");
proxy = g_dbus_proxy_new_sync (connection,
G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START |
@@ -233,6 +234,8 @@ test_proxy (void)
/* TODO: should call session_bus_down() but that requires waiting
* for all the oustanding method calls to complete...
*/
if (!g_test_quiet ())
g_print ("\n");
}
int