[gnome-desktop-testing] Also print structured log messages to stdout
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-desktop-testing] Also print structured log messages to stdout
- Date: Thu, 9 May 2013 19:12:38 +0000 (UTC)
commit 3a654b14cdcd7c8af57638df70646b1fc7a07943
Author: Colin Walters <walters verbum org>
Date: Thu May 9 15:09:28 2013 -0400
Also print structured log messages to stdout
src/gnome-desktop-testing-runner.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-desktop-testing-runner.c b/src/gnome-desktop-testing-runner.c
index 065b309..b356905 100755
--- a/src/gnome-desktop-testing-runner.c
+++ b/src/gnome-desktop-testing-runner.c
@@ -118,7 +118,7 @@ run_tests_in_directory (GFile *file,
{
char *keys[] = { "MESSAGE_ID=" TESTS_FAILED_MSGID, NULL };
gs_free char *msg = g_strdup_printf ("Test %s failed: %s", name, tmp_error->message);
- gs_log_structured (msg, (const char* const*)keys);
+ gs_log_structured_print (msg, (const char* const*)keys);
failed = TRUE;
}
g_clear_error (&tmp_error);
@@ -213,7 +213,7 @@ main (int argc, char **argv)
char *keys[] = { "MESSAGE_ID=" TESTS_SUCCESS_MSGID, NULL };
gs_free char *msg = g_strdup_printf ("pass: %d skipped: %d failed: %d",
ntests, n_skipped_tests, n_failed_tests);
- gs_log_structured (msg, (const char *const*)keys);
+ gs_log_structured_print (msg, (const char *const*)keys);
}
ret = TRUE;
@@ -228,7 +228,7 @@ main (int argc, char **argv)
g_assert (local_error);
msg = g_strdup_printf ("Caught exception during testing: %s", local_error->message);
- gs_log_structured (msg, (const char *const*)keys);
+ gs_log_structured_print (msg, (const char *const*)keys);
g_clear_error (&local_error);
return 1;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]