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/python10.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/python10.sh')
-rw-r--r-- | t/python10.sh | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/t/python10.sh b/t/python10.sh index 5a4f64b7d..683a14b1b 100644 --- a/t/python10.sh +++ b/t/python10.sh @@ -60,27 +60,21 @@ cwd=$(pwd) || fatal_ "getting current working directory" $MAKE install test -f "$inst/your/two.py" py_installed "$inst/your/two.pyc" -py_installed "$inst/your/two.pyo" py_installed --not "$inst/my/one.py" py_installed --not "$inst/my/one.pyc" -py_installed --not "$inst/my/one.pyo" $MAKE uninstall py_installed --not "$inst/your/two.py" py_installed --not "$inst/your/two.pyc" -py_installed --not "$inst/your/two.pyo" ../configure --prefix=$cwd/"$inst" one=1 $MAKE install py_installed --not "$inst/your/two.py" py_installed --not "$inst/your/two.pyc" -py_installed --not "$inst/your/two.pyo" test -f "$inst/my/one.py" py_installed "$inst/my/one.pyc" -py_installed "$inst/my/one.pyo" $MAKE uninstall py_installed --not "$inst/my/one.py" py_installed --not "$inst/my/one.pyc" -py_installed --not "$inst/my/one.pyo" $MAKE disttest |