This is an archive of the discontinued Mercurial Phabricator instance.

tests: explicitly define compression engines for tests
ClosedPublic

Authored by indygreg on Apr 25 2018, 6:03 PM.

Details

Summary

The zstd compression engine requires C extensions and isn't present
in pure Python builds.

The compression engine list leaks into the server capabilities string.

Unless we're testing functionality specific to a compression format,
the set of compression formats supported by a server doesn't matter
much.

So this commit explicitly defines the server's compression engines for
some tests so behavior is consistent between pure and non-pure builds.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Apr 25 2018, 6:03 PM
durin42 accepted this revision.Apr 25 2018, 10:43 PM
This revision is now accepted and ready to land.Apr 25 2018, 10:43 PM
This revision was automatically updated to reflect the committed changes.