diff options
Diffstat (limited to 'dev-python/clang-python/clang-python-6.0.0.ebuild')
| -rw-r--r-- | dev-python/clang-python/clang-python-6.0.0.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-python/clang-python/clang-python-6.0.0.ebuild b/dev-python/clang-python/clang-python-6.0.0.ebuild index 6abf574e9b93..5d6eaf45c6cd 100644 --- a/dev-python/clang-python/clang-python-6.0.0.ebuild +++ b/dev-python/clang-python/clang-python-6.0.0.ebuild @@ -34,8 +34,12 @@ src_unpack() { tar -xJf "${DISTDIR}/${MY_P}.tar.xz" "${MY_P}/bindings/python" || die } +python_test() { + "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}" +} + src_test() { - python_foreach_impl python -m unittest discover -v || die + python_foreach_impl python_test } src_install() { |
