[med-svn] r17279 - in trunk/packages/R/r-cran-fastcluster/trunk/debian: . tests

Andreas Tille tille at moszumanska.debian.org
Sun Jun 22 13:03:38 UTC 2014


Author: tille
Date: 2014-06-22 13:03:38 +0000 (Sun, 22 Jun 2014)
New Revision: 17279

Added:
   trunk/packages/R/r-cran-fastcluster/trunk/debian/tests/
   trunk/packages/R/r-cran-fastcluster/trunk/debian/tests/control
   trunk/packages/R/r-cran-fastcluster/trunk/debian/tests/run-unit-test
Modified:
   trunk/packages/R/r-cran-fastcluster/trunk/debian/changelog
   trunk/packages/R/r-cran-fastcluster/trunk/debian/control
   trunk/packages/R/r-cran-fastcluster/trunk/debian/docs
Log:
Add autopkgtest


Modified: trunk/packages/R/r-cran-fastcluster/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-cran-fastcluster/trunk/debian/changelog	2014-06-22 10:13:45 UTC (rev 17278)
+++ trunk/packages/R/r-cran-fastcluster/trunk/debian/changelog	2014-06-22 13:03:38 UTC (rev 17279)
@@ -1,8 +1,9 @@
-r-cran-fastcluster (1.1.13-1) UNRELEASED; urgency=medium
+r-cran-fastcluster (1.1.13-1) unstable; urgency=medium
 
   * New upstream version
   * Moved debian/upstream to debian/upstream/metadata
   * cme fix dpkg-control
+  * add autopkgtest
 
  -- Andreas Tille <tille at debian.org>  Sun, 22 Jun 2014 12:12:35 +0200
 

Modified: trunk/packages/R/r-cran-fastcluster/trunk/debian/control
===================================================================
--- trunk/packages/R/r-cran-fastcluster/trunk/debian/control	2014-06-22 10:13:45 UTC (rev 17278)
+++ trunk/packages/R/r-cran-fastcluster/trunk/debian/control	2014-06-22 13:03:38 UTC (rev 17279)
@@ -3,6 +3,7 @@
 Uploaders: Andreas Tille <tille at debian.org>
 Section: gnu-r
 Priority: optional
+Testsuite: autopkgtest
 Build-Depends: debhelper (>= 9),
                cdbs,
                r-base-dev

Modified: trunk/packages/R/r-cran-fastcluster/trunk/debian/docs
===================================================================
--- trunk/packages/R/r-cran-fastcluster/trunk/debian/docs	2014-06-22 10:13:45 UTC (rev 17278)
+++ trunk/packages/R/r-cran-fastcluster/trunk/debian/docs	2014-06-22 13:03:38 UTC (rev 17279)
@@ -1 +1,3 @@
 debian/README.test
+debian/tests/run-unit-test
+tests

Added: trunk/packages/R/r-cran-fastcluster/trunk/debian/tests/control
===================================================================
--- trunk/packages/R/r-cran-fastcluster/trunk/debian/tests/control	                        (rev 0)
+++ trunk/packages/R/r-cran-fastcluster/trunk/debian/tests/control	2014-06-22 13:03:38 UTC (rev 17279)
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, r-cran-runit
+Restrictions: allow-stderr

Added: trunk/packages/R/r-cran-fastcluster/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-cran-fastcluster/trunk/debian/tests/run-unit-test	                        (rev 0)
+++ trunk/packages/R/r-cran-fastcluster/trunk/debian/tests/run-unit-test	2014-06-22 13:03:38 UTC (rev 17279)
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+pkg=r-cran-fastcluster
+if [ "$ADTTMP" = "" ] ; then
+  ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd $ADTTMP
+cp /usr/share/doc/${pkg}/tests/* $ADTTMP
+gunzip -r *
+for runtest in `ls *.R` ; do
+    R --no-save < $runtest
+done
+rm -f $ADTTMP/*




More information about the debian-med-commit mailing list