Mercurial > public > mercurial-scm > hg
diff tests/test-revlog-packentry.t @ 17132:b87acfda5268
tests: reduce spurious failures when run with generaldelta
Quite a few tests fail in noisy but meaningless ways when the test suite
is run with generaldelta enabled:
./run-tests.py --extra-config-opt=format.generaldelta=1
This reduces the amount of noise introduced by the debugindex command,
the main source of differences. In my environment, when testing with
generaldelta enabled, this change reduces the number of completely
failing tests from 21 to 8.
author | Bryan O'Sullivan <bryano@fb.com> |
---|---|
date | Wed, 11 Jul 2012 15:03:10 -0700 |
parents | f2719b387380 |
children | 6cc1f388ac80 |
line wrap: on
line diff
--- a/tests/test-revlog-packentry.t Wed Jul 04 17:29:49 2012 +0200 +++ b/tests/test-revlog-packentry.t Wed Jul 11 15:03:10 2012 -0700 @@ -16,8 +16,8 @@ created new head $ hg debugindex foo - rev offset length base linkrev nodeid p1 p2 - 0 0 0 0 0 b80de5d13875 000000000000 000000000000 - 1 0 24 0 1 0376abec49b8 000000000000 000000000000 + rev offset length ..... linkrev nodeid p1 p2 (re) + 0 0 0 ..... 0 b80de5d13875 000000000000 000000000000 (re) + 1 0 24 ..... 1 0376abec49b8 000000000000 000000000000 (re) $ cd ..