about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-03-04 23:32:47 +0000
committerJames Booth <boothj5@gmail.com>2015-03-04 23:32:47 +0000
commit7638f379cac3869abdd8530faa09cc7481e99ec6 (patch)
tree2d335a313ce4ce327b0107fa0f531a7b4d9a6cfb /tests
parent5e1ad0b0d215e11c330ba1e3687119304062d358 (diff)
downloadprofani-tty-7638f379cac3869abdd8530faa09cc7481e99ec6.tar.gz
Fixed tests for --disable-otr
Diffstat (limited to 'tests')
-rw-r--r--tests/testsuite.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/testsuite.c b/tests/testsuite.c
index ddfb45cd..645a1a40 100644
--- a/tests/testsuite.c
+++ b/tests/testsuite.c
@@ -346,9 +346,11 @@ int main(int argc, char* argv[]) {
         unit_test(cmd_account_set_eval_password_when_password_set),
         unit_test(cmd_account_set_muc_sets_muc),
         unit_test(cmd_account_set_nick_sets_nick),
+#ifdef HAVE_LIBOTR
         unit_test(cmd_account_show_message_for_missing_otr_policy),
         unit_test(cmd_account_show_message_for_invalid_otr_policy),
         unit_test(cmd_account_set_otr_sets_otr),
+#endif
         unit_test(cmd_account_set_status_shows_message_when_invalid_status),
         unit_test(cmd_account_set_status_sets_status_when_valid),
         unit_test(cmd_account_set_status_sets_status_when_last),