[PATCH 2 of 2 STABLE] test: properly gate a zstd section
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Mon May 20 01:12:42 EDT 2019
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at octobus.net>
# Date 1558329076 -7200
# Mon May 20 07:11:16 2019 +0200
# Branch stable
# Node ID 0ac91ed80152c2ae7da78ab7ac5f737e0c7310cb
# Parent bfdb8dfc2e52730eb9218522e1c25c28a329e76e
# EXP-Topic fix-stable
# Available At https://bitbucket.org/octobus/mercurial-devel/
# hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 0ac91ed80152
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).
diff --git a/tests/test-repo-compengines.t b/tests/test-repo-compengines.t
--- a/tests/test-repo-compengines.t
+++ b/tests/test-repo-compengines.t
@@ -139,6 +139,8 @@ Test error cases
abort: invalid value for `storage.revlog.zlib.level` config: 42
[255]
+#if zstd
+
checking zstd options
=====================
@@ -194,3 +196,4 @@ Test error cases
abort: invalid value for `storage.revlog.zstd.level` config: 42
[255]
+#endif
More information about the Mercurial-devel
mailing list