openbsd-ports/devel/mercurial/patches/patch-tests_run-tests_py
fgsch 1cb4a2861e Update to mercurial 1.8.1.
Original diff by me, better one supplied by Samir SAADA in ports@
wcmaier@ (maintainer) ok.
2011-03-28 00:11:34 +00:00

14 lines
529 B
Plaintext

$OpenBSD: patch-tests_run-tests_py,v 1.3 2011/03/28 00:11:34 fgsch Exp $
--- tests/run-tests.py.orig Thu Mar 10 17:30:31 2011
+++ tests/run-tests.py Sat Mar 26 04:42:04 2011
@@ -74,7 +74,8 @@ IMPL_PATH = 'PYTHONPATH'
if 'java' in sys.platform:
IMPL_PATH = 'JYTHONPATH'
-requiredtools = ["python", "diff", "grep", "unzip", "gunzip", "bunzip2", "sed"]
+requiredtools = ["diff", "grep", "unzip", "gunzip", "bunzip2", "sed"]
+requiredtools.insert(0, os.path.basename(PYTHON))
defaults = {
'jobs': ('HGTEST_JOBS', 1),