config: add test

This commit is contained in:
rick 2025-05-19 21:48:11 +02:00
parent 805a080da8
commit a905d3e317
No known key found for this signature in database
GPG key ID: A2E7B6CA577C8F07

View file

@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -17,4 +17,9 @@ S="${WORKDIR}/py-cfg-lib-${PV}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="test"
IUSE="test"
RESTRICT="!test? ( test )"
python_test() {
"${EPYTHON}" test_config.py || die "Tests failed with ${EPYTHON}"
}