mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Disable i18n test when i18n is disabled
This commit is contained in:
@@ -444,6 +444,10 @@ TEST_F(ZNCTest, ModpythonCommand) {
|
||||
client.Write("PRIVMSG *cmdtest :ping or");
|
||||
client.ReadUntil(":*cmdtest!cmdtest@znc.in PRIVMSG nick :ping or pong");
|
||||
|
||||
#ifndef HAVE_I18N
|
||||
GTEST_SKIP() << "I18N is disabled, skipping the rest of this test";
|
||||
#endif
|
||||
|
||||
InstallTranslation("cmdtest", "ru_RU", R"(
|
||||
msgid ""
|
||||
msgstr ""
|
||||
|
||||
Reference in New Issue
Block a user