Patchwork D3040: tests: skip some tests when using simple store

login
register
mail settings
Submitter phabricator
Date April 3, 2018, 5:54 p.m.
Message ID <differential-rev-PHID-DREV-lu5yzrx2tps3owypdb2c-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/30197/
State Superseded
Headers show

Comments

phabricator - April 3, 2018, 5:54 p.m.
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  generaldelta is a revlog implementation detail. We don't need to
  test it with the simple store.
  
  union repos are heavily revlog based. It should be possible to
  run them with alternate stores. But it's not worth the trouble
  at this juncture.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  tests/test-generaldelta.t
  tests/test-unionrepo.t

CHANGE DETAILS




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

Patch

diff --git a/tests/test-unionrepo.t b/tests/test-unionrepo.t
--- a/tests/test-unionrepo.t
+++ b/tests/test-unionrepo.t
@@ -1,3 +1,5 @@ 
+#require no-reposimplestore
+
 Test unionrepo functionality
 
 Create one repository
diff --git a/tests/test-generaldelta.t b/tests/test-generaldelta.t
--- a/tests/test-generaldelta.t
+++ b/tests/test-generaldelta.t
@@ -1,3 +1,5 @@ 
+#require no-reposimplestore
+
 Check whether size of generaldelta revlog is not bigger than its
 regular equivalent. Test would fail if generaldelta was naive
 implementation of parentdelta: third manifest revision would be fully