Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 2/2] eclass/tests/python-utils-r1.sh: Add tests for stdlib ver matching
Date: Thu, 21 Apr 2022 08:42:00
Message-Id: 20220421084133.277976-2-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 1/2] python-utils-r1.eclass: pypy3 is now Python 3.9 by "Michał Górny"
1 Signed-off-by: Michał Górny <mgorny@g.o>
2 ---
3 eclass/tests/python-utils-r1.sh | 9 +++++++++
4 1 file changed, 9 insertions(+)
5
6 diff --git a/eclass/tests/python-utils-r1.sh b/eclass/tests/python-utils-r1.sh
7 index ef7687b8a9cf..9c41798c4727 100755
8 --- a/eclass/tests/python-utils-r1.sh
9 +++ b/eclass/tests/python-utils-r1.sh
10 @@ -223,6 +223,15 @@ test_is "_python_impl_matches python3_6 python*" 0
11 test_is "_python_impl_matches python3_7 python*" 0
12 test_is "_python_impl_matches pypy3 python*" 1
13 set +f
14 +test_is "_python_impl_matches python3_8 3.8" 0
15 +test_is "_python_impl_matches python3_8 3.9" 1
16 +test_is "_python_impl_matches python3_8 3.10" 1
17 +test_is "_python_impl_matches python3_9 3.8" 1
18 +test_is "_python_impl_matches python3_9 3.9" 0
19 +test_is "_python_impl_matches python3_9 3.10" 1
20 +test_is "_python_impl_matches pypy3 3.8" 1
21 +test_is "_python_impl_matches pypy3 3.9" 0
22 +test_is "_python_impl_matches pypy3 3.10" 1
23
24 rm "${tmpfile}"
25
26 --
27 2.35.1