[Git][debian-gis-team/totalopenstation][master] Copy test files for autopkgtest.
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Sat Aug 19 08:12:39 BST 2023
Bas Couwenberg pushed to branch master at Debian GIS Project / totalopenstation
Commits:
1f981206 by Bas Couwenberg at 2023-08-19T09:12:30+02:00
Copy test files for autopkgtest.
- - - - -
2 changed files:
- debian/changelog
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -8,6 +8,7 @@ totalopenstation (0.5.2+ds-1) UNRELEASED; urgency=medium
* Update lintian overrides.
* Use autopkgtest-pkg-pybuild testsuite.
* Enable Salsa CI.
+ * Copy test files for autopkgtest.
-- Bas Couwenberg <sebastic at debian.org> Sat, 19 Aug 2023 06:42:39 +0200
=====================================
debian/rules
=====================================
@@ -1,7 +1,15 @@
#!/usr/bin/make -f
+
export DH_OPTIONS
+
+ifeq ($(PYBUILD_AUTOPKGTEST),1)
+export PYBUILD_BEFORE_TEST=cp -rv {dir}/sample_data {dir}/totalopenstation {build_dir}
+export PYBUILD_TEST_ARGS=-vv totalopenstation/tests
+export PYBUILD_AFTER_TEST=rm -rf {build_dir}/sample_data {build_dir}/totalopenstation
+else
export PYBUILD_BEFORE_TEST=cp -r {dir}/sample_data {build_dir}
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/sample_data
+endif
INSTDIR=debian/tmp
View it on GitLab: https://salsa.debian.org/debian-gis-team/totalopenstation/-/commit/1f9812060be435f21198ed59a1bd4dab41c9df88
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/totalopenstation/-/commit/1f9812060be435f21198ed59a1bd4dab41c9df88
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/20230819/a66c2a21/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list