commit: 5ebae81ccb112276cf260007c99f18069063c0be Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Apr 21 08:41:06 2022 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Apr 21 15:19:40 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ebae81c
eclass/tests/python-utils-r1.sh: Add tests for stdlib ver matching Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> eclass/tests/python-utils-r1.sh | 9 +++++++++ 1 file changed, 9 insertions(+) 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}"