toolchain.sh test script requires PYTHON_COMPAT array since commit
1d93a491096f ("toolchain.eclass: rework tests more") otherwise it dies
with

 die: PYTHON_COMPAT not declared.

error.

Signed-off-by: Petr Vaněk <arka...@gentoo.org>
---
 eclass/tests/toolchain.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/eclass/tests/toolchain.sh b/eclass/tests/toolchain.sh
index 6f8df5b4fc4a..2e48c3443493 100755
--- a/eclass/tests/toolchain.sh
+++ b/eclass/tests/toolchain.sh
@@ -11,6 +11,8 @@ PR=r0
 source tests-common.sh || exit
 source version-funcs.sh || exit
 
+PYTHON_COMPAT=( python3_{10..13} )
+
 EAPI=7 inherit toolchain
 
 # Ignore actually running version of gcc and fake new version
-- 
2.44.2


Reply via email to