[med-svn] r18237 - in trunk/packages/snap/trunk/debian: . tests
Andreas Tille
tille at moszumanska.debian.org
Tue Oct 7 12:57:08 UTC 2014
Author: tille
Date: 2014-10-07 12:57:08 +0000 (Tue, 07 Oct 2014)
New Revision: 18237
Added:
trunk/packages/snap/trunk/debian/README.test
trunk/packages/snap/trunk/debian/tests/
trunk/packages/snap/trunk/debian/tests/control
trunk/packages/snap/trunk/debian/tests/run-unit-test
Modified:
trunk/packages/snap/trunk/debian/changelog
trunk/packages/snap/trunk/debian/docs
Log:
Add autopkgtest and upload to unstable
Added: trunk/packages/snap/trunk/debian/README.test
===================================================================
--- trunk/packages/snap/trunk/debian/README.test (rev 0)
+++ trunk/packages/snap/trunk/debian/README.test 2014-10-07 12:57:08 UTC (rev 18237)
@@ -0,0 +1,8 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+To run the unit tests provided by the package you can do
+
+ sh run-unit-test
+
+in this directory.
\ No newline at end of file
Modified: trunk/packages/snap/trunk/debian/changelog
===================================================================
--- trunk/packages/snap/trunk/debian/changelog 2014-10-07 12:09:09 UTC (rev 18236)
+++ trunk/packages/snap/trunk/debian/changelog 2014-10-07 12:57:08 UTC (rev 18237)
@@ -1,4 +1,4 @@
-snap (2013-11-29-1) UNRELEASED; urgency=medium
+snap (2013-11-29-1) unstable; urgency=medium
* New upstream version
Closes: #753849
@@ -6,6 +6,7 @@
* moved debian/upstream to debian/upstrem/metadata
* d/copyright: Exclude binary files without source (from OSX)
* cme fix dpkg-control
+ * add autopkgtest
-- Andreas Tille <tille at debian.org> Tue, 07 Oct 2014 13:31:52 +0200
Modified: trunk/packages/snap/trunk/debian/docs
===================================================================
--- trunk/packages/snap/trunk/debian/docs 2014-10-07 12:09:09 UTC (rev 18236)
+++ trunk/packages/snap/trunk/debian/docs 2014-10-07 12:57:08 UTC (rev 18237)
@@ -1 +1,3 @@
00README
+debian/README.test
+debian/tests/run-unit-test
Added: trunk/packages/snap/trunk/debian/tests/control
===================================================================
--- trunk/packages/snap/trunk/debian/tests/control (rev 0)
+++ trunk/packages/snap/trunk/debian/tests/control 2014-10-07 12:57:08 UTC (rev 18237)
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, @builddeps@
+Restrictions: allow-stderr
Added: trunk/packages/snap/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/snap/trunk/debian/tests/run-unit-test (rev 0)
+++ trunk/packages/snap/trunk/debian/tests/run-unit-test 2014-10-07 12:57:08 UTC (rev 18237)
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+
+pkg=snap
+if [ "$ADTTMP" = "" ] ; then
+ ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd $ADTTMP
+snap /usr/share/snap/HMM/thale /usr/share/doc/${pkg}/examples/DNA/thale.dna.gz
+snap /usr/share/snap/HMM/worm /usr/share/doc/${pkg}/examples/DNA/worm.dna.gz
+
Property changes on: trunk/packages/snap/trunk/debian/tests/run-unit-test
___________________________________________________________________
Added: svn:executable
+ *
More information about the debian-med-commit
mailing list