Author: tille
Date: 2016-10-18 10:51:25 +0000 (Tue, 18 Oct 2016)
New Revision: 22844

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


Added: trunk/packages/R/r-cran-gtable/trunk/debian/README.test
===================================================================
--- trunk/packages/R/r-cran-gtable/trunk/debian/README.test                     
        (rev 0)
+++ trunk/packages/R/r-cran-gtable/trunk/debian/README.test     2016-10-18 
10:51:25 UTC (rev 22844)
@@ -0,0 +1,9 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+This package can be tested by running the provided test:
+
+cd tests
+LC_ALL=C R --no-save < testthat.R
+
+in order to confirm its integrity.

Modified: trunk/packages/R/r-cran-gtable/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-cran-gtable/trunk/debian/changelog       2016-10-17 
20:02:08 UTC (rev 22843)
+++ trunk/packages/R/r-cran-gtable/trunk/debian/changelog       2016-10-18 
10:51:25 UTC (rev 22844)
@@ -1,9 +1,11 @@
-gtable (0.1.2-2) UNRELEASED; urgency=medium
+gtable (0.2.0-1) UNRELEASED; urgency=medium
 
+  * New upstream version
   * Ivo Maintz is MIA, take over package into team maintenance
   * cme fix dpkg-control
+  * add autopkgtest
 
- -- Andreas Tille <ti...@debian.org>  Tue, 11 Oct 2016 17:21:30 +0200
+ -- Andreas Tille <ti...@debian.org>  Tue, 18 Oct 2016 12:45:51 +0200
 
 gtable (0.1.2-1.1) unstable; urgency=low
 

Modified: trunk/packages/R/r-cran-gtable/trunk/debian/docs
===================================================================
--- trunk/packages/R/r-cran-gtable/trunk/debian/docs    2016-10-17 20:02:08 UTC 
(rev 22843)
+++ trunk/packages/R/r-cran-gtable/trunk/debian/docs    2016-10-18 10:51:25 UTC 
(rev 22844)
@@ -1 +1,4 @@
-NEWS
+NEWS.md
+tests
+debian/README.test
+debian/tests/run-unit-test

Added: trunk/packages/R/r-cran-gtable/trunk/debian/tests/control
===================================================================
--- trunk/packages/R/r-cran-gtable/trunk/debian/tests/control                   
        (rev 0)
+++ trunk/packages/R/r-cran-gtable/trunk/debian/tests/control   2016-10-18 
10:51:25 UTC (rev 22844)
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, r-cran-testthat
+Restrictions: allow-stderr

Added: trunk/packages/R/r-cran-gtable/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-cran-gtable/trunk/debian/tests/run-unit-test             
                (rev 0)
+++ trunk/packages/R/r-cran-gtable/trunk/debian/tests/run-unit-test     
2016-10-18 10:51:25 UTC (rev 22844)
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+pkg=r-cran-gtable
+
+if [ "$ADTTMP" = "" ] ; then
+  ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+  trap "rm -rf $ADTTMP" 0 INT QUIT ABRT PIPE TERM
+fi
+cd $ADTTMP
+cp -a /usr/share/doc/${pkg}/tests/* $ADTTMP
+LC_ALL=C R --no-save < testthat.R


_______________________________________________
debian-med-commit mailing list
debian-med-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to