mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 21:08:35 -07:00
dev-python/lit: Support running self-tests
This commit is contained in:
@@ -16,8 +16,18 @@ EGIT_REPO_URI="http://llvm.org/git/llvm.git
|
||||
LICENSE="UoI-NCSA"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE=""
|
||||
IUSE="test"
|
||||
|
||||
S=${WORKDIR}/${P}/utils/lit
|
||||
|
||||
# Tests require 'FileCheck' and 'not' utilities (from llvm)
|
||||
DEPEND="
|
||||
test? (
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
sys-devel/llvm )"
|
||||
|
||||
# TODO: move the manpage generation here (from sys-devel/llvm)
|
||||
|
||||
python_test() {
|
||||
./lit.py -sv tests || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user