Mercurial > hgrepos > FreeBSD > ports > PyPy
annotate lang/pypy310/files/patch-pypy_pytest-A.cfg @ 204:0b0312cdf0ca
pypy310: make test execution work ("make test")
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 13 Mar 2025 20:19:50 +0100 |
| parents | |
| children |
| rev | line source |
|---|---|
|
204
0b0312cdf0ca
pypy310: make test execution work ("make test")
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
1 --- pypy/pytest-A.cfg.orig 2025-02-24 17:28:26 UTC |
|
0b0312cdf0ca
pypy310: make test execution work ("make test")
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
2 +++ pypy/pytest-A.cfg |
|
0b0312cdf0ca
pypy310: make test execution work ("make test")
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
3 @@ -4,7 +4,11 @@ cherrypick = ['interpreter', 'objspace/test', 'objspac |
|
0b0312cdf0ca
pypy310: make test execution work ("make test")
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
4 |
|
0b0312cdf0ca
pypy310: make test execution work ("make test")
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
5 cherrypick = ['interpreter', 'objspace/test', 'objspace/std', 'module'] |
|
0b0312cdf0ca
pypy310: make test execution work ("make test")
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
6 |
|
0b0312cdf0ca
pypy310: make test execution work ("make test")
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
7 -interp = ['python'] |
|
0b0312cdf0ca
pypy310: make test execution work ("make test")
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
8 +# |
|
0b0312cdf0ca
pypy310: make test execution work ("make test")
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
9 +# fag: There is no Python 2.7 available on FreeBSD that is called "python": |
|
0b0312cdf0ca
pypy310: make test execution work ("make test")
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
10 +# use python2.7 instead |
|
0b0312cdf0ca
pypy310: make test execution work ("make test")
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
11 +#interp = ['python'] |
|
0b0312cdf0ca
pypy310: make test execution work ("make test")
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
12 +interp = ['python2.7'] |
|
0b0312cdf0ca
pypy310: make test execution work ("make test")
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
13 test_driver = ['test_all.py', '-A', '--python', |
|
0b0312cdf0ca
pypy310: make test execution work ("make test")
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
14 # Get the target_path pypy/goal/pypyd.d.exe from testrunner/get_info.py |
|
0b0312cdf0ca
pypy310: make test execution work ("make test")
Franz Glasner <fzglas.hg@dom66.de>
parents:
diff
changeset
|
15 json.loads(subprocess.check_output([sys.executable, 'testrunner/get_info.py']))['target_path'], ] |
