diff options
author | Lukas Fleischer <lfleischer@lfos.de> | 2020-01-28 18:32:20 -0800 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-01-29 17:58:51 -0800 |
commit | b279a0d46dfeca1ca40057c3c910ab1657d60be5 (patch) | |
tree | 9928d56f4873d5401621e53a9658055c54e85c72 /t/python-virtualenv.sh | |
parent | 8e05f006415d1811785ab5dab1ea4ae5a44c184e (diff) | |
download | automake-b279a0d46dfeca1ca40057c3c910ab1657d60be5.tar.gz |
tests: in python tests, do not require .pyo files (for python3)
This change partially fixes automake bug#32088:
https://debbugs.gnu.org/32088
* t/py-compile-basedir.sh: Remove all .pyo checks.
Also, in this test only, allow for either 4 or 6 files resulting
from compilation, as new-enough Python3 results in 6
(per Andreas Huettel, https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32088#17)
* t/py-compile-basic.sh: Remove all .pyo checks.
* t/py-compile-destdir.sh: Likewise.
* t/py-compile-option-terminate.sh: Likewise.
* t/python-virtualenv.sh: Likewise.
* t/python10.sh: Likewise.
* t/python12.sh: Likewise.
* t/python3.sh: Likewise.
Diffstat (limited to 't/python-virtualenv.sh')
-rw-r--r-- | t/python-virtualenv.sh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/t/python-virtualenv.sh b/t/python-virtualenv.sh index 6f052584a..6f4e0c07c 100644 --- a/t/python-virtualenv.sh +++ b/t/python-virtualenv.sh @@ -124,10 +124,8 @@ check_install () test -f "$py_site"/am_foo.py py_installed "$py_site"/am_foo.pyc - py_installed "$py_site"/am_foo.pyo py_installed "$py_site"/am_virtenv/__init__.py py_installed "$py_site"/am_virtenv/__init__.pyc - py_installed "$py_site"/am_virtenv/__init__.pyo test -f "$py_site"/libquux.a test -f "$py_site"/am_virtenv/libzardoz.a } @@ -138,10 +136,8 @@ check_uninstall () test ! -e "$py_site"/am_foo.py py_installed --not "$py_site"/am_foo.pyc - py_installed --not "$py_site"/am_foo.pyo test ! -e "$py_site"/am_virtenv/__init__.py py_installed --not "$py_site"/am_virtenv/__init__.pyc - py_installed --not "$py_site"/am_virtenv/__init__.pyo test ! -e "$py_site"/libquux.a test ! -e "$py_site"/am_virtenv/libzardoz.a } |