diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-04-21 10:41:06 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-04-21 17:19:40 +0200 |
commit | 5ebae81ccb112276cf260007c99f18069063c0be (patch) | |
tree | 340776514aa2a7a901c1d201f1716406a5a43cac /eclass | |
parent | python-utils-r1.eclass: pypy3 is now Python 3.9 (diff) | |
download | gentoo-5ebae81ccb112276cf260007c99f18069063c0be.tar.gz gentoo-5ebae81ccb112276cf260007c99f18069063c0be.tar.bz2 gentoo-5ebae81ccb112276cf260007c99f18069063c0be.zip |
eclass/tests/python-utils-r1.sh: Add tests for stdlib ver matching
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rwxr-xr-x | eclass/tests/python-utils-r1.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/eclass/tests/python-utils-r1.sh b/eclass/tests/python-utils-r1.sh index ef7687b8a9cf..9c41798c4727 100755 --- a/eclass/tests/python-utils-r1.sh +++ b/eclass/tests/python-utils-r1.sh @@ -223,6 +223,15 @@ test_is "_python_impl_matches python3_6 python*" 0 test_is "_python_impl_matches python3_7 python*" 0 test_is "_python_impl_matches pypy3 python*" 1 set +f +test_is "_python_impl_matches python3_8 3.8" 0 +test_is "_python_impl_matches python3_8 3.9" 1 +test_is "_python_impl_matches python3_8 3.10" 1 +test_is "_python_impl_matches python3_9 3.8" 1 +test_is "_python_impl_matches python3_9 3.9" 0 +test_is "_python_impl_matches python3_9 3.10" 1 +test_is "_python_impl_matches pypy3 3.8" 1 +test_is "_python_impl_matches pypy3 3.9" 0 +test_is "_python_impl_matches pypy3 3.10" 1 rm "${tmpfile}" |