test: properly gate a zstd section stable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Mon, 20 May 2019 07:11:16 +0200
branchstable
changeset 42321 624080e8bd9f
parent 42320 f352ed7dfab7
child 42322 d2c871b78c36
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).
tests/test-repo-compengines.t
--- 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