瀏覽代碼

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) {