[med-svn] [Git][med-team/terraphast][master] Added autopkgtest

Israel Komolehin (@Komolehin) gitlab at salsa.debian.org
Tue Jan 30 04:51:04 GMT 2024



Israel Komolehin pushed to branch master at Debian Med / terraphast


Commits:
41c27930 by Komolehin Israel Timilehin at 2024-01-30T04:50:21+00:00
Added autopkgtest

- - - - -


2 changed files:

- + debian/tests/control
- + debian/tests/run-unit-test


Changes:

=====================================
debian/tests/control
=====================================
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: wget, terraphast
+Restrictions: needs-internet, allow-stderr
\ No newline at end of file


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+pkg=terraphast
+
+if [ "$AUTOPKGTEST_TMP" = "" ]; then
+
+	AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXX`
+	trap "rm -rf $AUTOPKG_TMP" 0 INT QUIT ABRT PIPE TERM
+
+fi
+
+cd $AUTOPKGTEST_TMP
+
+# Get data
+wget https://raw.githubusercontent.com/terraphast/terraphast/master/terraphastI/data/data/Meusemann.nwk
+wget https://raw.githubusercontent.com/terraphast/terraphast/master/terraphastI/data/data/Meusemann.data
+
+# Enumerate terraces in phylogenetic tree space
+terraphast Meusemann.nwk Meusemann.data
\ No newline at end of file



View it on GitLab: https://salsa.debian.org/med-team/terraphast/-/commit/41c27930a2a99012a3b2a87dc50e1cf40c719178

-- 
View it on GitLab: https://salsa.debian.org/med-team/terraphast/-/commit/41c27930a2a99012a3b2a87dc50e1cf40c719178
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/debian-med-commit/attachments/20240130/82c5f3c7/attachment-0001.htm>


More information about the debian-med-commit mailing list