Summary: | dev-util/mercurial-1.0.1-r3 test failures | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexis Ballier <aballier> |
Component: | Current packages | Assignee: | Krzysztof Pawlik (RETIRED) <nelchael> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esqualante |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
mercurial-1.0.1-r3.ebuild.diff
mercurial-1.0.1-r3.ebuild.patch |
Description
Alexis Ballier
![]() Created attachment 160040 [details, diff]
mercurial-1.0.1-r3.ebuild.diff
Please apply this patch to ebuild and report the results.
got this now: * Running Mercurial tests ... .............. ERROR: test-bad-pull output changed --- Expected output +++ Test output @@ -1,5 +1,5 @@ abort: error: Connection refused 255 copy: No such file or directory -abort: HTTP Error 404 +abort: error: Connection refused 0 ............................................... ERROR: test-doctest.py output changed --- Expected output +++ Test output @@ -1,0 +1,1 @@ +......................... ERROR: test-hgweb output changed --- Expected output +++ Test output @@ -101,6 +101,7 @@ error: bork@2ef0ac749a14: not found in manifest % stop and restart +abort: cannot start server at ':20059': Address already in use 9 log lines written % static file 200 Script output follows ........ ERROR: test-http output changed --- Expected output +++ Test output @@ -34,11 +34,6 @@ 1 files, 1 changesets, 1 total revisions adding bar % pull -changegroup hook: HG_NODE=cfbd11a1fa315300a080c3de8fe36b0fc5820acf HG_SOURCE=pull HG_URL=http://localhost/ pulling from http://localhost/ searching for changes -adding changesets -adding manifests -adding file changes -added 1 changesets with 1 changes to 1 files -(run 'hg update' to get a working copy) +no changes found ..........................................................................s.................................................................. Skipped test-no-symlinks: system supports symbolic links Failed test-bad-pull: output changed Failed test-doctest.py: output changed Failed test-hgweb: output changed Failed test-http: output changed # Ran 235 tests, 1 skipped, 4 failed. Created attachment 163165 [details, diff] mercurial-1.0.1-r3.ebuild.patch The trick to tests succeeding with userpriv was to define tmpdir. test-doctest.py will fail with python 2.5.2 (status unchanged from mercurial 1.0 announcement response) http://www.selenic.com/pipermail/mercurial/2008-March/018068.html mercurial-1.0.1-r3.ebuild.diff posted here did not work for me. --with-hg=${S} breaks testing since mercurial is not installed in that directory and python will then import from the system (all tests will fail if mercurial is not installed, unpredictable results depending on the version of mercurial which is installation). --jobs=1 made no difference to my results. This patch to the ebuild conditionally removes the tests requiring FEATURES="userpriv" and unconditionally removes test-doctest.py in addition to adding --tmpdir=${testdir}. Thanks for the patch. + 04 Oct 2008; Robert Buchholz <rbu@gentoo.org> mercurial-1.0.2.ebuild: + Make tests run with Python 2.5 and FEATURES=userpriv, a patch by Lourdes + Jones (bug #231280). |