D5110: tests: test-parseindex.t requires no-pure

adgar (Michael Edgar) phabricator at mercurial-scm.org
Mon Oct 15 14:25:16 UTC 2018


adgar created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  Custom python code in test-parseindex.t calls reachableroots2 which is only
  available in the C revlog index implementation. Marking it #require no-pure
  ensure it will not run for --pure test runs.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D5110

AFFECTED FILES
  tests/test-parseindex.t

CHANGE DETAILS

diff --git a/tests/test-parseindex.t b/tests/test-parseindex.t
--- a/tests/test-parseindex.t
+++ b/tests/test-parseindex.t
@@ -1,3 +1,5 @@
+#require no-pure # pure revlog index does not have reachableroots2 function
+
 revlog.parseindex must be able to parse the index file even if
 an index entry is split between two 64k blocks.  The ideal test
 would be to create an index file with inline data where



To: adgar, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list