Skip to content

Commit ccbddd8

Browse files
committed
Allow LargeRandomData test only on Windows
1 parent 879dd26 commit ccbddd8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2869,6 +2869,7 @@ TEST(GzipDecompressor, ChunkedDecompression) {
28692869
ASSERT_EQ(data, decompressed_data);
28702870
}
28712871

2872+
#ifdef _WIN32
28722873
TEST(GzipDecompressor, LargeRandomData) {
28732874

28742875
// prepare large random data that is difficult to be compressed and is
@@ -2915,6 +2916,7 @@ TEST(GzipDecompressor, LargeRandomData) {
29152916
0);
29162917
}
29172918
#endif
2919+
#endif
29182920

29192921
#ifdef CPPHTTPLIB_BROTLI_SUPPORT
29202922
TEST_F(ServerTest, GetStreamedChunkedWithBrotli) {

0 commit comments

Comments
 (0)