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

Andreas Tille tille at moszumanska.debian.org
Tue Mar 22 13:39:16 UTC 2016


Author: tille
Date: 2016-03-22 13:39:15 +0000 (Tue, 22 Mar 2016)
New Revision: 21544

Added:
   trunk/packages/R/r-cran-rncl/trunk/debian/README.test
   trunk/packages/R/r-cran-rncl/trunk/debian/docs
   trunk/packages/R/r-cran-rncl/trunk/debian/tests/
   trunk/packages/R/r-cran-rncl/trunk/debian/tests/control
   trunk/packages/R/r-cran-rncl/trunk/debian/tests/run-unit-test
Modified:
   trunk/packages/R/r-cran-rncl/trunk/debian/changelog
Log:
Add autopkgtest and upload to unstable (new)


Added: trunk/packages/R/r-cran-rncl/trunk/debian/README.test
===================================================================
--- trunk/packages/R/r-cran-rncl/trunk/debian/README.test	                        (rev 0)
+++ trunk/packages/R/r-cran-rncl/trunk/debian/README.test	2016-03-22 13:39:15 UTC (rev 21544)
@@ -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 < test-all.R
+
+in order to confirm its integrity.

Modified: trunk/packages/R/r-cran-rncl/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-cran-rncl/trunk/debian/changelog	2016-03-22 13:19:46 UTC (rev 21543)
+++ trunk/packages/R/r-cran-rncl/trunk/debian/changelog	2016-03-22 13:39:15 UTC (rev 21544)
@@ -1,5 +1,5 @@
-r-cran-rncl (0.6.0-1) UNRELEASED; urgency=low
+r-cran-rncl (0.6.0-1) unstable; urgency=low
 
-  * Initial release (Closes: #<bug>)
+  * Initial release (Closes: #818976)
 
- -- Andreas Tille <tille at debian.org>  Tue, 22 Mar 2016 12:05:59 +0100
+ -- Andreas Tille <tille at debian.org>  Tue, 22 Mar 2016 14:29:52 +0100

Added: trunk/packages/R/r-cran-rncl/trunk/debian/docs
===================================================================
--- trunk/packages/R/r-cran-rncl/trunk/debian/docs	                        (rev 0)
+++ trunk/packages/R/r-cran-rncl/trunk/debian/docs	2016-03-22 13:39:15 UTC (rev 21544)
@@ -0,0 +1,3 @@
+tests
+debian/README.test
+debian/tests/run-unit-test

Added: trunk/packages/R/r-cran-rncl/trunk/debian/tests/control
===================================================================
--- trunk/packages/R/r-cran-rncl/trunk/debian/tests/control	                        (rev 0)
+++ trunk/packages/R/r-cran-rncl/trunk/debian/tests/control	2016-03-22 13:39:15 UTC (rev 21544)
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, r-cran-testthat
+Restrictions: allow-stderr

Added: trunk/packages/R/r-cran-rncl/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-cran-rncl/trunk/debian/tests/run-unit-test	                        (rev 0)
+++ trunk/packages/R/r-cran-rncl/trunk/debian/tests/run-unit-test	2016-03-22 13:39:15 UTC (rev 21544)
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+oname=rncl
+pkg=r-cran-`echo $oname | tr [A-Z] [a-z]`
+
+if [ "$ADTTMP" = "" ] ; then
+  ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd $ADTTMP
+cp -a /usr/share/doc/${pkg}/tests/* $ADTTMP
+LC_ALL=C R --no-save < test-all.R
+rm -fr $ADTTMP/*




More information about the debian-med-commit mailing list