tests: disable progress estimate in test-debugbuilddag.t stable
authorJulien Cristau <julien.cristau@logilab.fr>
Wed, 04 Apr 2012 13:55:11 +0200
branchstable
changeset 16368 8614f8e0dd7a
parent 16367 c14898df3b92
child 16369 e14d7805845d
tests: disable progress estimate in test-debugbuilddag.t If the command takes long enough, including 'estimate' in the format will add some more data to the progress bar output, and make the test fail. See e.g. https://buildd.debian.org/status/fetch.php?pkg=mercurial&arch=kfreebsd-amd64&ver=2.1.2-2&stamp=1333493711
tests/test-debugbuilddag.t
--- a/tests/test-debugbuilddag.t	Wed Apr 04 12:46:54 2012 -0500
+++ b/tests/test-debugbuilddag.t	Wed Apr 04 13:55:11 2012 +0200
@@ -7,6 +7,7 @@
   $ hg debugbuilddag '+2:f +3:p2 @temp <f+4 @default /p2 +2' \
   > --config extensions.progress= --config progress.assume-tty=1 \
   > --config progress.delay=0 --config progress.refresh=0 \
+  > --config progress.format=topic,bar,number \
   > --config progress.width=60 2>&1 | \
   > python $TESTDIR/filtercr.py