Patchwork [Bug,5697] New: test-hghave.t test failure

login
register
mail settings
Submitter mercurial-bugs@mercurial-scm.org
Date Oct. 2, 2017, 12:04 p.m.
Message ID <bug-5697-285@https.bz.mercurial-scm.org/>
Download mbox | patch
Permalink /patch/24390/
State Not Applicable
Headers show

Comments

mercurial-bugs@mercurial-scm.org - Oct. 2, 2017, 12:04 p.m.
https://bz.mercurial-scm.org/show_bug.cgi?id=5697

            Bug ID: 5697
           Summary: test-hghave.t test failure
           Product: Mercurial
           Version: 4.3.3
          Hardware: PC
                OS: NetBSD
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla@mercurial-scm.org
          Reporter: tk@giga.or.at
                CC: mercurial-devel@mercurial-scm.org

In 4.3.2 and 4.3.3 I see a new test failure:


ERROR: test-hghave.t output changed

pkgsrc on NetBSD only provides versioned python binaries (i.e., "python2.7")
but this test (or a script it calls) just uses "python". ${PYTHON} is set to
the real python binary name, which seems to suffice for all other tests.

Patch

--- /scratch/devel/py-mercurial/work/mercurial-4.3.3/tests/test-hghave.t
+++ /scratch/devel/py-mercurial/work/mercurial-4.3.3/tests/test-hghave.t.err
@@ -24,8 +24,8 @@ 
   > testrepohgenv; \
   > $TESTDIR/run-tests.py $HGTEST_RUN_TESTS_PURE test-hghaveaddon.t \
   > )
-  .
-  # Ran 1 tests, 0 skipped, 0 failed.
+  env: python: No such file or directory
+  [127]

 (invocation via command line)