Mercurial > public > mercurial-scm > hg
diff tests/test-changelog-exec.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 | 7a9cbb315d84 d5261db0011f |
line wrap: on
line diff
--- a/tests/test-changelog-exec.t Wed Jul 04 17:29:49 2012 +0200 +++ b/tests/test-changelog-exec.t Wed Jul 11 15:03:10 2012 -0700 @@ -49,7 +49,7 @@ $ hg debugindex bar - rev offset length base linkrev nodeid p1 p2 - 0 0 5 0 1 b004912a8510 000000000000 000000000000 + rev offset length ..... linkrev nodeid p1 p2 (re) + 0 0 5 ..... 1 b004912a8510 000000000000 000000000000 (re) $ cd ..