Mercurial > public > mercurial-scm > hg-stable
diff tests/test-commit.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 | 622aa57a90b1 |
children | 94317c2d53b8 |
line wrap: on
line diff
--- a/tests/test-commit.t Wed Jul 04 17:29:49 2012 +0200 +++ b/tests/test-commit.t Wed Jul 11 15:03:10 2012 -0700 @@ -300,8 +300,8 @@ $ hg debugrename foo foo renamed from bar:26d3ca0dfd18e44d796b564e38dd173c9668d3a9 $ hg debugindex bar - rev offset length base linkrev nodeid p1 p2 - 0 0 6 0 0 26d3ca0dfd18 000000000000 000000000000 - 1 6 7 1 1 d267bddd54f7 26d3ca0dfd18 000000000000 + rev offset length ..... linkrev nodeid p1 p2 (re) + 0 0 6 ..... 0 26d3ca0dfd18 000000000000 000000000000 (re) + 1 6 7 ..... 1 d267bddd54f7 26d3ca0dfd18 000000000000 (re) $ cd ..