mirror of
https://github.com/znc/znc.git
synced 2026-08-08 09:52:55 +02:00
Skip tests which require SSL
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user