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)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user