mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-01 19:20:56 +02:00
config: add test
This commit is contained in:
parent
805a080da8
commit
a905d3e317
1 changed files with 7 additions and 2 deletions
|
|
@ -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}"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue