Skip to content

Commit

Permalink
disable compression test if configured without enabling compression s…
Browse files Browse the repository at this point in the history
…upport.
  • Loading branch information
luca-schlecker committed Aug 30, 2021
1 parent 05cb35a commit 79f5000
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unittest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1892,6 +1892,7 @@ TEST_CASE("websocket")
app.stop();
}

#ifdef CROW_ENABLE_COMPRESSION
TEST_CASE("zlib_compression")
{
static char buf_deflate[2048];
Expand Down Expand Up @@ -2086,6 +2087,7 @@ TEST_CASE("zlib_compression")
app_deflate.stop();
app_gzip.stop();
}
#endif

TEST_CASE("catchall")
{
Expand Down

0 comments on commit 79f5000

Please sign in to comment.