dev-python/lit: Support running self-tests

This commit is contained in:
Michał Górny
2016-10-03 18:23:33 +02:00
parent 84765b5368
commit fa8286669d

View File

@@ -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
}