dev-python/pyhamcrest: drop bad tests on HPPA
authorAaron Bauman <bman@gentoo.org>
Fri, 29 Nov 2019 21:42:33 +0000 (16:42 -0500)
committerAaron Bauman <bman@gentoo.org>
Fri, 29 Nov 2019 21:43:10 +0000 (16:43 -0500)
Bug: https://bugs.gentoo.org/691446

Signed-off-by: Aaron Bauman <bman@gentoo.org>
dev-python/pyhamcrest/pyhamcrest-1.9.0-r1.ebuild

index 6e8d193c9e8a98e0b6e4df67e70ec25c15ac6d5d..84ed83d25437df8f02e6f666126e7852fc7ae0d4 100644 (file)
@@ -42,6 +42,12 @@ python_prepare_all() {
        rm tests/hamcrest_unit_test/core/is_test.py || die "removing test #2 failed"
        rm tests/hamcrest_unit_test/core/isinstanceof_test.py || die "removing test #3 failed"
 
+       # These fail on HPPA. Drop them too.
+       if use hppa; then
+               rm tests/hamcrest_unit_test/base_matcher_test.py || die "removing test #4 failed"
+               rm tests/hamcrest_unit_test/core/described_as_test.py || die "removing test #5 failed"
+       fi
+
        distutils-r1_python_prepare_all
 }