2.4.2 make tests fails on debian squeeze and wheezy

Bendtsen, Jon Jon.Bendtsen at laerdal.dk
Tue Jan 8 16:44:25 UTC 2013


On 08/01/2013, at 17.27, Mads Kiilerich <mads at kiilerich.com> wrote:

> On 01/08/2013 05:13 PM, Bendtsen, Jon wrote:
>> On 08/01/2013, at 17.04, Mads Kiilerich <mads at kiilerich.com>
>>  wrote:
>>> You are running the tests as root, and the tests that validates that Mercurial works as expected even with insufficient permissions will thus fail to fail. I guess we could make the test suite handle that somehow, but running the test as root is such a bad idea that nobody cares. 
>> But I needs to run it as root to install it.
> 
> That would only be needed for the 'install' step, and it is not a good idea to install files in /usr anyway. It might be better to set PREFIX or use 'make install-home'.
> 
> I prefer to use 'make local' and symlink 'hg' to somewhere in $PATH.
> 
> (And the test suite is mainly intended for developers. There is rarely a good reason to run it when installing a released version on a 'normal' platform.)


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

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`

ERROR: /usr/local/src/mercurial-2.4.2/tests/test-inotify-debuginotify.t output changed
!........................................................................................s........s...........................................................................................s....s..............................
Skipped test-casecollision-merge.t: missing feature: case insensitive file system
Skipped test-casefolding.t: missing feature: case insensitive file system
Skipped test-check-code-hg.t: not a Mercurial working dir
Skipped test-check-pyflakes.t: missing feature: Pyflakes python linter
Skipped test-convert-baz.t: missing feature: GNU Arch baz client
Skipped test-convert-bzr-114.t: missing feature: Canonical's Bazaar client >= 1.14
Skipped test-convert-bzr-directories.t: missing feature: Canonical's Bazaar client
Skipped test-convert-bzr-ghosts.t: missing feature: Canonical's Bazaar client
Skipped test-convert-bzr-merges.t: missing feature: Canonical's Bazaar client
Skipped test-convert-bzr-treeroot.t: missing feature: Canonical's Bazaar client
Skipped test-convert-bzr.t: missing feature: Canonical's Bazaar client
Skipped test-convert-cvs-branch.t: missing feature: cvs client/server
Skipped test-convert-cvs-detectmerge.t: missing feature: cvs client/server
Skipped test-convert-cvs-synthetic.t: missing feature: cvs client/server
Skipped test-convert-cvs.t: missing feature: cvs client/server
Skipped test-convert-cvsnt-mergepoints.t: missing feature: cvs client/server
Skipped test-convert-darcs.t: missing feature: darcs client
Skipped test-convert-git.t: missing feature: git command line client
Skipped test-convert-hg-svn.t: missing feature: subversion python bindings
Skipped test-convert-mtn.t: missing feature: monotone client (>= 1.0)
Skipped test-convert-p4-filetypes.t: missing feature: Perforce server and client
Skipped test-convert-p4.t: missing feature: Perforce server and client
Skipped test-convert-svn-branches.t: missing feature: subversion python bindings
Skipped test-convert-svn-encoding.t: missing feature: subversion python bindings
Skipped test-convert-svn-move.t: missing feature: subversion python bindings
Skipped test-convert-svn-sink.t: missing feature: subversion client and admin tools >= 1.3
Skipped test-convert-svn-source.t: missing feature: subversion python bindings
Skipped test-convert-svn-startrev.t: missing feature: subversion python bindings
Skipped test-convert-svn-tags.t: missing feature: subversion python bindings
Skipped test-convert-tagsbranch-topology.t: missing feature: git command line client
Skipped test-convert-tla.t: missing feature: GNU Arch tla client
Skipped test-https.t: missing feature: python >= 2.6 ssl module and python OpenSSL
Skipped test-i18n.t: missing feature: GNU Gettext (msgfmt)
Skipped test-mq-subrepo-svn.t: missing feature: subversion client and admin tools >= 1.3
Skipped test-no-symlinks.t: system supports symbolic links
Skipped test-subrepo-git.t: missing feature: git command line client
Skipped test-subrepo-svn.t: missing feature: subversion client and admin tools >= 1.5
Failed test-extension.t: output changed
Failed test-inotify-debuginotify.t: output changed
# Ran 416 tests, 37 skipped, 2 failed.
make: *** [tests] Error 1





More information about the Mercurial mailing list