소스 검색

Allow `LargeRandomData` test only on Windows

yhirose 4 년 전
부모
커밋
ccbddd8842
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      test/test.cc

+ 2 - 0
test/test.cc

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