diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2015-02-26 17:12:22 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2015-04-16 13:05:37 +0100 |
commit | b7e56c18a961fc9717fd399077b2d5a1126669cb (patch) | |
tree | fa8e236d9729e47ea9d64e29ae2a5637a7513b8f /test/relay.c | |
parent | 54f92110f653965b791c8e38cba29582d99fba65 (diff) | |
download | dbus-b7e56c18a961fc9717fd399077b2d5a1126669cb.tar.gz |
tests: avoid noise on stdout when not --verbose
This makes life easier for frameworks like LAVA that screen-scrape
test results.
g_test_message() is not displayed by default, but each test can be run
with either --tap or --verbose to get these messages displayed.
Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=89846
Diffstat (limited to 'test/relay.c')
-rw-r--r-- | test/relay.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/relay.c b/test/relay.c index 0d9defff..e275c167 100644 --- a/test/relay.c +++ b/test/relay.c @@ -155,7 +155,7 @@ test_connect (Fixture *f, while (f->left_server_conn == NULL) { - g_print ("."); + test_progress ('.'); test_main_context_iterate (f->ctx, TRUE); } @@ -168,7 +168,7 @@ test_connect (Fixture *f, while (f->right_server_conn == NULL) { - g_print ("."); + test_progress ('.'); test_main_context_iterate (f->ctx, TRUE); } @@ -210,7 +210,7 @@ test_relay (Fixture *f, while (g_queue_get_length (&f->messages) < 2) { - g_print ("."); + test_progress ('.'); test_main_context_iterate (f->ctx, TRUE); } |