[med-svn] [Git][med-team/transdecoder][master] d/rules: copy the tests to a new folder before running
Michael R. Crusoe (@crusoe)
gitlab at salsa.debian.org
Wed May 13 14:11:24 BST 2026
Michael R. Crusoe pushed to branch master at Debian Med / transdecoder
Commits:
b20b9505 by Michael R. Crusoe at 2026-05-13T15:01:24+02:00
d/rules: copy the tests to a new folder before running
to simplify cleanup & fix reproducibility
- - - - -
3 changed files:
- debian/changelog
- + debian/clean
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+transdecoder (6.0.0-3) unstable; urgency=medium
+
+ * d/rules: copy the tests to a new folder before running, to simplify
+ cleanup and fixing reproducibility.
+
+ -- Michael R. Crusoe <crusoe at debian.org> Wed, 13 May 2026 15:01:06 +0200
+
transdecoder (6.0.0-2) unstable; urgency=medium
* d/tests/control: also skip i386, diamond-aligner is not available
=====================================
debian/clean
=====================================
@@ -0,0 +1,2 @@
+test_data
+debian/*.1
=====================================
debian/rules
=====================================
@@ -8,14 +8,13 @@ include /usr/share/dpkg/default.mk
dh $@
override_dh_auto_clean:
- cd ./sample_data && for script in ./*/cleanme.pl; do $$($$script); done
- rm -f debian/*.1
override_dh_auto_build:
-override_after_dh_auto_test:
+override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
- cd ./sample_data && for script in ./*/cleanme.pl; do $$($$script); done
+ cp -r sample_data test_data && cd test_data && $(MAKE) test
+ rm -Rf test_data
endif
execute_after_dh_install:
View it on GitLab: https://salsa.debian.org/med-team/transdecoder/-/commit/b20b950536b2df21e4d4016624b58d228d21d25b
--
View it on GitLab: https://salsa.debian.org/med-team/transdecoder/-/commit/b20b950536b2df21e4d4016624b58d228d21d25b
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260513/621df851/attachment-0001.htm>
More information about the debian-med-commit
mailing list