##// END OF EJS Templates
run-tests: don't check for the mercurial library used when using --with-hg...
Pierre-Yves David -
r21733:9ad11d5b default
parent child Browse files
Show More
@@ -1724,6 +1724,11 b' class TestRunner(object):'
1724 def _checkhglib(self, verb):
1724 def _checkhglib(self, verb):
1725 """Ensure that the 'mercurial' package imported by python is
1725 """Ensure that the 'mercurial' package imported by python is
1726 the one we expect it to be. If not, print a warning to stderr."""
1726 the one we expect it to be. If not, print a warning to stderr."""
1727 if ((self._bindir == self._pythondir) and
1728 (self._bindir != self._tmpbindir)):
1729 # The pythondir has been infered from --with-hg flag.
1730 # We cannot expect anything sensible here
1731 return
1727 expecthg = os.path.join(self._pythondir, 'mercurial')
1732 expecthg = os.path.join(self._pythondir, 'mercurial')
1728 actualhg = self._gethgpath()
1733 actualhg = self._gethgpath()
1729 if os.path.abspath(actualhg) != os.path.abspath(expecthg):
1734 if os.path.abspath(actualhg) != os.path.abspath(expecthg):
General Comments 0
You need to be logged in to leave comments. Login now