Merge pull request #34554 from azat/no-minizip-build-fix

Fix gtest_archive_reader_and_writer in case of !USE_MINIZIP
This commit is contained in:
Maksim Kita 2022-02-12 16:43:52 +01:00 committed by GitHub
commit 8be2a8ec34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -328,14 +328,16 @@ TEST_P(ArchiveReaderAndWriterTest, ArchiveNotExist)
}
#if USE_MINIZIP
namespace
{
const char * supported_archive_file_exts[] =
{
#if USE_MINIZIP
".zip",
#endif
};
}
INSTANTIATE_TEST_SUITE_P(All, ArchiveReaderAndWriterTest, ::testing::ValuesIn(supported_archive_file_exts));
#endif