Mercurial > hg-stable
comparison tests/test-flags.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 | 44bda93df90e |
comparison
equal
deleted
inserted
replaced
17119:2e13c1bd34dc | 17132:b87acfda5268 |
---|---|
136 -rwxr-x--- | 136 -rwxr-x--- |
137 -rwxr-x--- | 137 -rwxr-x--- |
138 -rwxr-x--- | 138 -rwxr-x--- |
139 | 139 |
140 $ hg debugindex a | 140 $ hg debugindex a |
141 rev offset length base linkrev nodeid p1 p2 | 141 rev offset length ..... linkrev nodeid p1 p2 (re) |
142 0 0 0 0 0 b80de5d13875 000000000000 000000000000 | 142 0 0 0 ..... 0 b80de5d13875 000000000000 000000000000 (re) |
143 $ hg debugindex -R ../test2 a | 143 $ hg debugindex -R ../test2 a |
144 rev offset length base linkrev nodeid p1 p2 | 144 rev offset length ..... linkrev nodeid p1 p2 (re) |
145 0 0 0 0 0 b80de5d13875 000000000000 000000000000 | 145 0 0 0 ..... 0 b80de5d13875 000000000000 000000000000 (re) |
146 $ hg debugindex -R ../test1 a | 146 $ hg debugindex -R ../test1 a |
147 rev offset length base linkrev nodeid p1 p2 | 147 rev offset length ..... linkrev nodeid p1 p2 (re) |
148 0 0 0 0 0 b80de5d13875 000000000000 000000000000 | 148 0 0 0 ..... 0 b80de5d13875 000000000000 000000000000 (re) |
149 1 0 5 1 1 7fe919cc0336 b80de5d13875 000000000000 | 149 1 0 5 ..... 1 7fe919cc0336 b80de5d13875 000000000000 (re) |
150 | 150 |
151 $ cd .. | 151 $ cd .. |