2.4.2 make tests fails on debian squeeze and wheezy
Mads Kiilerich
mads at kiilerich.com
Tue Jan 8 16:58:05 UTC 2013
On 01/08/2013 05:44 PM, Bendtsen, Jon wrote:
> After being told to not run as root, I removed the binary packages, ran make install, switched to a non root user and then ran make tests again, and for your information it fails again, though only:
>
> Failed test-extension.t: output changed
> Failed test-inotify-debuginotify.t: output changed
>
>
> jonbendtsen at dkhg:/usr/local/src/mercurial-2.4.2$ make tests
> cd tests && python run-tests.py
> ......................................s.s..s.s....................sssssss.ssssss..s...ssss.sssssssss.....................................................
> --- /usr/local/src/mercurial-2.4.2/tests/test-extension.t
> +++ /usr/local/src/mercurial-2.4.2/tests/test-extension.t.err
> @@ -554,8 +554,10 @@
> $ echo 'testedwith = """'"$hgver"'"""' >> throw.py
> $ rm -f throw.pyc throw.pyo
> $ hg --config extensions.throw=throw.py throw 2>&1 | egrep '^\*\*'
> - ** unknown exception encountered, please report by visiting
> - ** http://mercurial.selenic.com/wiki/BugTracker
> - ** Python * (glob)
> - ** Mercurial Distributed SCM (*) (glob)
> + ** Unknown exception encountered with possibly-broken third-party extension throw
> + ** which supports versions unknown of Mercurial.
> + ** Please disable throw and try your action again.
> + ** If that fixes the bug please report it to http://example.com/bts
> + ** Python 2.7.3rc2 (default, Apr 22 2012, 22:35:38) [GCC 4.6.3]
> + ** Mercurial Distributed SCM (version unknown)
> ** Extensions loaded: throw
This do apparently not work with released Mercurial version numbers/names:
$ hgver=`python -c 'from mercurial import util; print
util.version().split("+")[0]'`
I suggest you clone from http://selenic.com/hg and use the stable branch
there. That is what all other test suite users do.
> ERROR: /usr/local/src/mercurial-2.4.2/tests/test-extension.t output changed
> !.........................................................s..s............
> --- /usr/local/src/mercurial-2.4.2/tests/test-inotify-debuginotify.t
> +++ /usr/local/src/mercurial-2.4.2/tests/test-inotify-debuginotify.t.err
> @@ -38,4 +38,5 @@
> directories being watched:
> /
> .hg/
> + a/
> $ kill `cat hg.pid`
inotify is kind of experimental and unstable ... but usually the test
pass without problems. I guess it will pass if you try again.
/Mads
More information about the Mercurial
mailing list