commit: 8394e261f92828c50db41f257c8294acfb9ea533
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri May 2 18:25:11 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri May 2 18:25:11 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8394e261
python-utils-r1.eclass: Add more tests for impl match corner cases
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
eclass/tests/python-utils-r1.sh | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/eclass/tests/python-utils-r1.sh b/eclass/tests/python-utils-r1.sh
index ccb599ca8400..6a647c3a9622 100755
--- a/eclass/tests/python-utils-r1.sh
+++ b/eclass/tests/python-utils-r1.sh
@@ -221,6 +221,14 @@ test_is "_python_impl_matches python3_12 3.10 3.11" 1
test_is "_python_impl_matches python3_12 3.11 3.12" 0
test_is "_python_impl_matches python3_12 3.10 3.12" 0
test_is "_python_impl_matches python3_12 3.10 3.11 3.12" 0
+test_is "_python_impl_matches python3_11 python3_10 python3_11" 0
+test_is "_python_impl_matches python3_11 python3_11 python3_12" 0
+test_is "_python_impl_matches python3_11 python3_10 python3_12" 1
+test_is "_python_impl_matches python3_11 python3_10 python3_11 python3_12" 0
+test_is "_python_impl_matches python3_12 python3_10 python3_11" 1
+test_is "_python_impl_matches python3_12 python3_11 python3_12" 0
+test_is "_python_impl_matches python3_12 python3_10 python3_12" 0
+test_is "_python_impl_matches python3_12 python3_10 python3_11 python3_12" 0
eoutdent
rm "${tmpfile}"