commit:     65276a07be46e1b4dfe44c48008bcb255bbb1ad1
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Fri Apr 25 23:24:48 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 26 19:50:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65276a07

sci-libs/gdal: skip non working tests

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41775
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/gdal/gdal-3.9.3.ebuild | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/sci-libs/gdal/gdal-3.9.3.ebuild b/sci-libs/gdal/gdal-3.9.3.ebuild
index 922356db4b67..666d81dedcc8 100644
--- a/sci-libs/gdal/gdal-3.9.3.ebuild
+++ b/sci-libs/gdal/gdal-3.9.3.ebuild
@@ -258,8 +258,19 @@ src_test() {
        # 1. autotests (much larger, uses pytest)
        # 2. Small set of fuzzing tests (no download needed)
 
-       # Missing file for test-unit?
-       cmake_src_test -E "(test-unit)"
+       CMAKE_SKIP_TESTS=(
+               # Missing file for test-unit?
+               "test-unit"
+               # requires pytest-benchmark
+               "autotest_benchmark"
+               # network sandbox
+               # TODO: granularly skip network sandbox breaking tests?
+               "autotest_gcore"
+               "autotest_gdrivers"
+               "autotest_utilities"
+       )
+
+       cmake_src_test
 }
 
 src_install() {

Reply via email to