openbsd-ports/devel/mercurial/patches/patch-tests_run-tests_py

14 lines
532 B
Plaintext
Raw Normal View History

$OpenBSD: patch-tests_run-tests_py,v 1.5 2013/01/09 11:54:38 rpointel Exp $
--- tests/run-tests.py.orig Wed Jan 2 07:07:38 2013
+++ tests/run-tests.py Tue Jan 8 11:09:30 2013
@@ -93,7 +93,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),