Mercurial > hgrepos > FreeBSD > ports > PyPy
diff lang/pypy311/files/patch-pypy_pytest-A.cfg @ 205:31261c452c90
pypy311: make test execution work ("make test")
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 13 Mar 2025 21:06:09 +0100 |
| parents | lang/pypy310/files/patch-pypy_pytest-A.cfg@0b0312cdf0ca |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lang/pypy311/files/patch-pypy_pytest-A.cfg Thu Mar 13 21:06:09 2025 +0100 @@ -0,0 +1,15 @@ +--- pypy/pytest-A.cfg.orig 2025-02-24 17:28:26 UTC ++++ pypy/pytest-A.cfg +@@ -4,7 +4,11 @@ cherrypick = ['interpreter', 'objspace/test', 'objspac + + cherrypick = ['interpreter', 'objspace/test', 'objspace/std', 'module'] + +-interp = ['python'] ++# ++# fag: There is no Python 2.7 available on FreeBSD that is called "python": ++# use python2.7 instead ++#interp = ['python'] ++interp = ['python2.7'] + test_driver = ['test_all.py', '-A', '--python', + # Get the target_path pypy/goal/pypyd.d.exe from testrunner/get_info.py + json.loads(subprocess.check_output([sys.executable, 'testrunner/get_info.py']))['target_path'], ]
