Patchwork [Bug,5644] New: Test file test-revlog-raw.py broken with Pypy 5.6.0

login
register
mail settings
Submitter mercurial-bugs@mercurial-scm.org
Date July 31, 2017, 4:07 p.m.
Message ID <bug-5644-285@https.bz.mercurial-scm.org/>
Download mbox | patch
Permalink /patch/22591/
State Not Applicable
Headers show

Comments

mercurial-bugs@mercurial-scm.org - July 31, 2017, 4:07 p.m.
https://bz.mercurial-scm.org/show_bug.cgi?id=5644

            Bug ID: 5644
           Summary: Test file test-revlog-raw.py broken with Pypy 5.6.0
           Product: Mercurial
           Version: 4.3-rc
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla@mercurial-scm.org
          Reporter: lothiraldan@gmail.com
                CC: mercurial-devel@mercurial-scm.org

I tried running the Mercurial tests with latest Ubuntu version of Pypy:

Python 2.7.12 (5.6.0+dfsg-4, Nov 20 2016, 17:17:18)
[PyPy 5.6.0 with GCC 6.2.1 20161119]

I get this error for the test file tests/test-revlog-raw.py.out, I take a look
at them and I think one data-structure is not sorted the same way in CPython
and Pypy but don't know where to start unfortunately.

Patch

diff -r 44a602611965 -r 766fd5fc2795 tests/test-revlog-raw.py.out
--- a/tests/test-revlog-raw.py.out      Thu Jul 27 10:54:54 2017 +0200
+++ b/tests/test-revlog-raw.py.out      Thu Jul 27 10:55:06 2017 +0200
@@ -1,4 +1,4 @@ 
 local test passed
 addgroupcopy test passed
 clone test passed
-lowlevelcopy test passed
+abort: crashed: integrity check failed on _destrevlog.i:1