dev-python/pypy3: Fix reenabling byte-compilation for tests

This commit is contained in:
Michał Górny
2018-08-01 14:22:56 +02:00
parent bd1831cfd5
commit 6d8908533b
2 changed files with 4 additions and 4 deletions

View File

@@ -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() {

View File

@@ -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() {