Change in libosmocore[master]: tests/fsm_test.c: Disable use color in logging output

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Mon Jul 20 15:01:27 UTC 2020


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/19337 )


Change subject: tests/fsm_test.c: Disable use color in logging output
......................................................................

tests/fsm_test.c: Disable use color in logging output

This should avoid other problems in the future.

Change-Id: I81368578c0830477d381566a54671fdde6067b23
---
M tests/fsm/fsm_test.c
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/37/19337/1

diff --git a/tests/fsm/fsm_test.c b/tests/fsm/fsm_test.c
index 911aad8..fe48b2b 100644
--- a/tests/fsm/fsm_test.c
+++ b/tests/fsm/fsm_test.c
@@ -413,6 +413,7 @@
 	stderr_target = log_target_create_stderr();
 	log_add_target(stderr_target);
 	log_set_print_filename(stderr_target, 0);
+	log_set_use_color(stderr_target, 0);
 	g_ctrl = ctrl_handle_alloc(NULL, NULL, NULL);
 
 	g_ctx = NULL;

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/19337
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I81368578c0830477d381566a54671fdde6067b23
Gerrit-Change-Number: 19337
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200720/0c25ef27/attachment.htm>


More information about the gerrit-log mailing list