changeset 42166:624080e8bd9f stable

test: properly gate a zstd section This part of the test can't run if zstd is not available. This was caught by --pure test (who don't support zstd).
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 20 May 2019 07:11:16 +0200
parents f352ed7dfab7
children d2c871b78c36
files tests/test-repo-compengines.t
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-repo-compengines.t	Mon May 20 07:11:06 2019 +0200
+++ b/tests/test-repo-compengines.t	Mon May 20 07:11:16 2019 +0200
@@ -139,6 +139,8 @@
   abort: invalid value for `storage.revlog.zlib.level` config: 42
   [255]
 
+#if zstd
+
 checking zstd options
 =====================
 
@@ -194,3 +196,4 @@
   abort: invalid value for `storage.revlog.zstd.level` config: 42
   [255]
 
+#endif