dev-python/google-apputils: Use setup.py to run tests

This commit is contained in:
Michał Górny
2017-05-09 20:32:56 +02:00
parent ec1c576592
commit 7fcb1393b6

View File

@@ -30,9 +30,5 @@ src_unpack() {
}
python_test() {
# These yield 2 fails which are in fact expected errors run from a shell script!
# They seemingly have no immediate mechanism to exit 0 in an expected fail style.
for test in tests/{app_test*.py,[b-s]*.py} ; do
"${PYTHON}" $test || die "test failure under ${EPYTHON}"
done
esetup.py google_test
}