mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/pypy3: Fix reenabling byte-compilation for tests
This commit is contained in:
@@ -193,11 +193,11 @@ src_compile() {
|
||||
|
||||
src_test() {
|
||||
# (unset)
|
||||
local -x PYTHONDONTWRITEBYTECODE
|
||||
local -x PYTHONDONTWRITEBYTECODE=
|
||||
|
||||
# Test runner requires Python 2 too. However, it spawns PyPy3
|
||||
# internally so that we end up testing the correct interpreter.
|
||||
"${PYTHON}" ./pypy/test_all.py --pypy=./pypy3-c lib-python || die
|
||||
"${PYTHON}" ./pypy/test_all.py --pypy=./pypy3-c -vv lib-python || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@@ -220,11 +220,11 @@ src_compile() {
|
||||
|
||||
src_test() {
|
||||
# (unset)
|
||||
local -x PYTHONDONTWRITEBYTECODE
|
||||
local -x PYTHONDONTWRITEBYTECODE=
|
||||
|
||||
# Test runner requires Python 2 too. However, it spawns PyPy3
|
||||
# internally so that we end up testing the correct interpreter.
|
||||
"${PYTHON}" ./pypy/test_all.py --pypy=./pypy3-c lib-python || die
|
||||
"${PYTHON}" ./pypy/test_all.py --pypy=./pypy3-c -vv lib-python || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
Reference in New Issue
Block a user