[Bug 6661] New: run-tests.py: error: --with-hg must specify an executable hg script

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Tue Mar 8 10:18:43 UTC 2022


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

            Bug ID: 6661
           Summary: run-tests.py: error: --with-hg must specify an
                    executable hg script
           Product: Mercurial
           Version: 6.1
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: tk at giga.or.at
                CC: mercurial-devel at mercurial-scm.org
    Python Version: ---

At least with python 3.10, test-run-tests.t fails with:

--- /scratch/devel/py-mercurial/work/mercurial-6.1/tests/test-run-tests.t
+++ /scratch/devel/py-mercurial/work/mercurial-6.1/tests/test-run-tests.t.err
@@ -23,10 +23,9 @@
 #if symlink
   $ ln -s "/"bin"/"true hg
   $ "$PYTHON" $TESTDIR/run-tests.py --with-hg=./hg
-  ^warning: --with-hg should specify an hg script, not: (true|coreutils)$ (re)
-  running 0 tests using 0 parallel processes 
-  
-  # Ran 0 tests, 0 skipped, 0 failed.
+  usage: run-tests.py [options] [tests]
+  run-tests.py: error: --with-hg must specify an executable hg script
+  [2]
   $ rm hg
 #endif

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


More information about the Mercurial-devel mailing list