Skip tests which require SSL

This commit is contained in:
Alexey Sokolov
2026-06-08 22:07:11 +01:00
parent 197a235764
commit ad12a6011d
+8
View File
@@ -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();