dev-python/google-apputils: Use setup.py to run tests
authorMichał Górny <mgorny@gentoo.org>
Tue, 9 May 2017 18:32:56 +0000 (20:32 +0200)
committerMichał Górny <mgorny@gentoo.org>
Tue, 9 May 2017 18:43:18 +0000 (20:43 +0200)
dev-python/google-apputils/google-apputils-0.4.2-r1.ebuild

index 0579926ba951cacd064d0a3a97c7bcb0d97abdfb..4c34e95c5e8d1f27f426772bbecb311d9786c9d8 100644 (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
 }