From ad12a6011d319f245293a31c1480c9cb136ce806 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Mon, 8 Jun 2026 22:07:11 +0100 Subject: [PATCH] Skip tests which require SSL --- test/integration/tests/modules.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/integration/tests/modules.cpp b/test/integration/tests/modules.cpp index e954051f..628e8f5c 100644 --- a/test/integration/tests/modules.cpp +++ b/test/integration/tests/modules.cpp @@ -139,6 +139,10 @@ TEST_F(ZNCTest, WatchModule) { } TEST_F(ZNCTest, ModuleCrypt) { +#ifndef HAVE_LIBSSL + GTEST_SKIP() << "SSL is disabled"; +#endif + QFile conf(m_dir.path() + "/configs/znc.conf"); ASSERT_TRUE(conf.open(QIODevice::Append | QIODevice::Text)); QTextStream(&conf) << "ServerThrottle = 1\n"; @@ -389,6 +393,10 @@ TEST_F(ZNCTest, SaslAuthPlainImapAuth) { } TEST_F(ZNCTest, SaslAuthExternal) { +#ifndef HAVE_LIBSSL + GTEST_SKIP() << "SSL is disabled"; +#endif + int port = PickPortNumber(); auto znc = Run();