[Git][debian-gis-team/satpy][master] Fix autopkgtest

Antonio Valentino (@antonio.valentino) gitlab at salsa.debian.org
Mon Aug 14 14:02:54 BST 2023



Antonio Valentino pushed to branch master at Debian GIS Project / satpy


Commits:
023af7e4 by Antonio Valentino at 2023-08-14T13:02:26+00:00
Fix autopkgtest

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -7,6 +7,12 @@
 include /usr/share/dpkg/pkg-info.mk
 export SETUPTOOLS_SCM_PRETEND_VERSION=$(DEB_VERSION_UPSTREAM)
 
+ifneq (,${PYBUILD_AUTOPKGTEST})
+TESTDIR=/usr/lib/python3/dist-packages/satpy/tests
+else
+TESTDIR=satpy/tests
+endif
+
 export PYBUILD_NAME=satpy
 export PYBUILD_AFTER_INSTALL=rm -rf \
 {destdir}/{install_dir}/benchmarks \
@@ -31,11 +37,12 @@ and not test_rayleigh_corrector \
 and not test_rayleigh_with_angles \
 and not test_float_write_with_unit_conversion \
 and not test_aggregate \
-and not test_median" \
---ignore=${CURDIR}/${PYBUILD_NAME}/tests/reader_tests/test_insat3d_img_l1b_h5.py \
---ignore=${CURDIR}/${PYBUILD_NAME}/tests/reader_tests/gms/test_gms5_vissr_l1b.py \
---ignore=${CURDIR}/${PYBUILD_NAME}/tests/reader_tests/gms/test_gms5_vissr_navigation.py \
-${CURDIR}/${PYBUILD_NAME}/tests
+and not test_median \
+and not test_no_downloads_in_tests" \
+--ignore=${TESTDIR}/reader_tests/test_insat3d_img_l1b_h5.py \
+--ignore=${TESTDIR}/reader_tests/gms/test_gms5_vissr_l1b.py \
+--ignore=${TESTDIR}/reader_tests/gms/test_gms5_vissr_navigation.py \
+${TESTDIR}
 
 ifneq (,$(filter $(DEB_BUILD_ARCH),armhf))
 export PYBUILD_DISABLE=test



View it on GitLab: https://salsa.debian.org/debian-gis-team/satpy/-/commit/023af7e471b5009b348ee4371a83f864ee0a16e1

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/satpy/-/commit/023af7e471b5009b348ee4371a83f864ee0a16e1
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20230814/74c0b50f/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list