From b267b065f5b4c6fef93cb6f26c59f2e5c7dc7342 Mon Sep 17 00:00:00 2001 From: William Wennerström Date: Fri, 14 Feb 2020 12:50:52 +0100 Subject: Add builds.sr.ht CI for OpenBSD * Add .builds/openbsd.yml for builds.sr.ht * Update travis-build.sh -> ci-build.sh with OpenBSD case * Fix libdl check in configure.ac (OpenBSD has libdl built-in) * Fix some minor issues found when compiling on OpenBSD with GCC (e.g. uninitialized variables) --- tests/unittests/test_cmd_otr.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/unittests/test_cmd_otr.c b/tests/unittests/test_cmd_otr.c index 8ae96bae..ca55f5b8 100644 --- a/tests/unittests/test_cmd_otr.c +++ b/tests/unittests/test_cmd_otr.c @@ -250,6 +250,7 @@ test_cmd_otr_theirfp_from_wintype(win_type_t wintype) gchar *args[] = { "theirfp", NULL }; ProfWin window; window.type = wintype; + window.layout = NULL; will_return(connection_get_status, JABBER_CONNECTED); @@ -281,6 +282,7 @@ void cmd_otr_theirfp_shows_message_when_non_otr_chat_window(void **state) ProfWin window; window.type = WIN_CHAT; + window.layout = NULL; ProfChatWin chatwin; chatwin.window = window; chatwin.memcheck = PROFCHATWIN_MEMCHECK; @@ -307,6 +309,7 @@ void cmd_otr_theirfp_shows_fingerprint(void **state) ProfWin window; window.type = WIN_CHAT; + window.layout = NULL; ProfChatWin chatwin; chatwin.window = window; chatwin.barejid = recipient; @@ -333,6 +336,7 @@ test_cmd_otr_start_from_wintype(win_type_t wintype) gchar *args[] = { "start", NULL }; ProfWin window; window.type = wintype; + window.layout = NULL; will_return(connection_get_status, JABBER_CONNECTED); @@ -366,6 +370,7 @@ void cmd_otr_start_shows_message_when_already_started(void **state) ProfWin window; window.type = WIN_CHAT; + window.layout = NULL; ProfChatWin chatwin; chatwin.window = window; chatwin.barejid = recipient; @@ -389,6 +394,7 @@ void cmd_otr_start_shows_message_when_no_key(void **state) ProfWin window; window.type = WIN_CHAT; + window.layout = NULL; ProfChatWin chatwin; chatwin.window = window; chatwin.barejid = recipient; -- cgit 1.4.1-2-gfad0