Allow LargeRandomData test only on Windows

This commit is contained in:
yhirose 2021-07-22 22:17:31 -04:00
parent 879dd261c2
commit ccbddd8842

View File

@ -2869,6 +2869,7 @@ TEST(GzipDecompressor, ChunkedDecompression) {
ASSERT_EQ(data, decompressed_data); ASSERT_EQ(data, decompressed_data);
} }
#ifdef _WIN32
TEST(GzipDecompressor, LargeRandomData) { TEST(GzipDecompressor, LargeRandomData) {
// prepare large random data that is difficult to be compressed and is // prepare large random data that is difficult to be compressed and is
@ -2915,6 +2916,7 @@ TEST(GzipDecompressor, LargeRandomData) {
0); 0);
} }
#endif #endif
#endif
#ifdef CPPHTTPLIB_BROTLI_SUPPORT #ifdef CPPHTTPLIB_BROTLI_SUPPORT
TEST_F(ServerTest, GetStreamedChunkedWithBrotli) { TEST_F(ServerTest, GetStreamedChunkedWithBrotli) {