[Bug 5147] New: test-debugextensions fails with disabled byte-compilation

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Sat Mar 19 17:52:13 EDT 2016


https://bz.mercurial-scm.org/show_bug.cgi?id=5147

            Bug ID: 5147
           Summary: test-debugextensions fails with disabled
                    byte-compilation
           Product: Mercurial
           Version: 3.7.2
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: bug
          Priority: normal
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: Arfrever.FTA at GMail.Com
                CC: mercurial-devel at selenic.com

test-debugextensions fails with disabled byte-compilation
(PYTHONDONTWRITEBYTECODE="1" environmental variable).
I use Mercurial 3.7.2.

test-debugextensions.t
test-debugextensions.t ... # Test test-debugextensions.t
# Running sh
"/var/tmp/portage/dev-vcs/mercurial-3.7.2-r1000/temp/tests-2.7/temp/child370/test-debugextensions.t.sh"

---
/var/tmp/portage/dev-vcs/mercurial-3.7.2-r1000/work/mercurial-3.7.2/tests/test-debugextensions.t
+++
/var/tmp/portage/dev-vcs/mercurial-3.7.2-r1000/work/mercurial-3.7.2/tests/test-debugextensions.t.err
@@ -25,21 +25,21 @@

   $ hg debugextensions -v
   color
-    location: */hgext/color.pyc (glob)
+    location:
/var/tmp/portage/dev-vcs/mercurial-3.7.2-r1000/temp/tests-2.7/usr/lib64/python2.7/site-packages/hgext/color.py
     tested with: internal
   ext1
-    location: */extwithoutinfos.pyc (glob)
+    location: $TESTTMP/extwithoutinfos.py
   histedit
-    location: */hgext/histedit.pyc (glob)
+    location:
/var/tmp/portage/dev-vcs/mercurial-3.7.2-r1000/temp/tests-2.7/usr/lib64/python2.7/site-packages/hgext/histedit.py
     tested with: internal
   mq
-    location: */hgext/mq.pyc (glob)
+    location:
/var/tmp/portage/dev-vcs/mercurial-3.7.2-r1000/temp/tests-2.7/usr/lib64/python2.7/site-packages/hgext/mq.py
     tested with: internal
   patchbomb
-    location: */hgext/patchbomb.pyc (glob)
+    location:
/var/tmp/portage/dev-vcs/mercurial-3.7.2-r1000/temp/tests-2.7/usr/lib64/python2.7/site-packages/hgext/patchbomb.py
     tested with: internal
   rebase
-    location: */hgext/rebase.pyc (glob)
+    location:
/var/tmp/portage/dev-vcs/mercurial-3.7.2-r1000/temp/tests-2.7/usr/lib64/python2.7/site-packages/hgext/rebase.py
     tested with: internal

   $ hg debugextensions -Tjson | sed 's|\\\\|/|g'
@@ -47,37 +47,37 @@
    {
     "buglink": "",
     "name": "color",
-    "source": "*/hgext/color.pyc", (glob)
+    "source":
"/var/tmp/portage/dev-vcs/mercurial-3.7.2-r1000/temp/tests-2.7/usr/lib64/python2.7/site-packages/hgext/color.py",
     "testedwith": "internal"
    },
    {
     "buglink": "",
     "name": "ext1",
-    "source": "*/extwithoutinfos.pyc", (glob)
+    "source": "$TESTTMP/extwithoutinfos.py",
     "testedwith": ""
    },
    {
     "buglink": "",
     "name": "histedit",
-    "source": "*/hgext/histedit.pyc", (glob)
+    "source":
"/var/tmp/portage/dev-vcs/mercurial-3.7.2-r1000/temp/tests-2.7/usr/lib64/python2.7/site-packages/hgext/histedit.py",
     "testedwith": "internal"
    },
    {
     "buglink": "",
     "name": "mq",
-    "source": "*/hgext/mq.pyc", (glob)
+    "source":
"/var/tmp/portage/dev-vcs/mercurial-3.7.2-r1000/temp/tests-2.7/usr/lib64/python2.7/site-packages/hgext/mq.py",
     "testedwith": "internal"
    },
    {
     "buglink": "",
     "name": "patchbomb",
-    "source": "*/hgext/patchbomb.pyc", (glob)
+    "source":
"/var/tmp/portage/dev-vcs/mercurial-3.7.2-r1000/temp/tests-2.7/usr/lib64/python2.7/site-packages/hgext/patchbomb.py",
     "testedwith": "internal"
    },
    {
     "buglink": "",
     "name": "rebase",
-    "source": "*/hgext/rebase.pyc", (glob)
+    "source":
"/var/tmp/portage/dev-vcs/mercurial-3.7.2-r1000/temp/tests-2.7/usr/lib64/python2.7/site-packages/hgext/rebase.py",
     "testedwith": "internal"
    }
   ]

ERROR: test-debugextensions.t output changed
!
Keeping testtmp dir:
/var/tmp/portage/dev-vcs/mercurial-3.7.2-r1000/temp/tests-2.7/temp/child370/test-debugextensions.t
Keeping threadtmp dir:
/var/tmp/portage/dev-vcs/mercurial-3.7.2-r1000/temp/tests-2.7/temp/child370
# Ret was: 0 (test-debugextensions.t)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list