[med-svn] r17316 - in trunk/packages/R/r-cran-optparse/trunk/debian: . tests
Andreas Tille
tille at moszumanska.debian.org
Sat Jun 28 06:13:50 UTC 2014
Author: tille
Date: 2014-06-28 06:13:50 +0000 (Sat, 28 Jun 2014)
New Revision: 17316
Added:
trunk/packages/R/r-cran-optparse/trunk/debian/docs
trunk/packages/R/r-cran-optparse/trunk/debian/tests/
trunk/packages/R/r-cran-optparse/trunk/debian/tests/control
trunk/packages/R/r-cran-optparse/trunk/debian/tests/run-unit-test
Modified:
trunk/packages/R/r-cran-optparse/trunk/debian/changelog
trunk/packages/R/r-cran-optparse/trunk/debian/control
Log:
New upstream version, add autopkgtest
Modified: trunk/packages/R/r-cran-optparse/trunk/debian/changelog
===================================================================
--- trunk/packages/R/r-cran-optparse/trunk/debian/changelog 2014-06-28 06:04:58 UTC (rev 17315)
+++ trunk/packages/R/r-cran-optparse/trunk/debian/changelog 2014-06-28 06:13:50 UTC (rev 17316)
@@ -1,6 +1,7 @@
-r-cran-optparse (1.2-1) UNRELEASED; urgency=medium
+r-cran-optparse (1.2.0-1) unstable; urgency=medium
* New upstream version
+ * Add autopkgtest
-- Andreas Tille <tille at debian.org> Sat, 21 Jun 2014 00:31:36 +0200
Modified: trunk/packages/R/r-cran-optparse/trunk/debian/control
===================================================================
--- trunk/packages/R/r-cran-optparse/trunk/debian/control 2014-06-28 06:04:58 UTC (rev 17315)
+++ trunk/packages/R/r-cran-optparse/trunk/debian/control 2014-06-28 06:13:50 UTC (rev 17316)
@@ -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,
Added: trunk/packages/R/r-cran-optparse/trunk/debian/docs
===================================================================
--- trunk/packages/R/r-cran-optparse/trunk/debian/docs (rev 0)
+++ trunk/packages/R/r-cran-optparse/trunk/debian/docs 2014-06-28 06:13:50 UTC (rev 17316)
@@ -0,0 +1,3 @@
+tests
+debian/README.test
+debian/tests/run-unit-test
Added: trunk/packages/R/r-cran-optparse/trunk/debian/tests/control
===================================================================
--- trunk/packages/R/r-cran-optparse/trunk/debian/tests/control (rev 0)
+++ trunk/packages/R/r-cran-optparse/trunk/debian/tests/control 2014-06-28 06:13:50 UTC (rev 17316)
@@ -0,0 +1,3 @@
+Tests: run-unit-test
+Depends: @, r-cran-testthat
+Restrictions: allow-stderr
Added: trunk/packages/R/r-cran-optparse/trunk/debian/tests/run-unit-test
===================================================================
--- trunk/packages/R/r-cran-optparse/trunk/debian/tests/run-unit-test (rev 0)
+++ trunk/packages/R/r-cran-optparse/trunk/debian/tests/run-unit-test 2014-06-28 06:13:50 UTC (rev 17316)
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+pkg=r-cran-optparse
+if [ "$ADTTMP" = "" ] ; then
+ ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
+fi
+cd $ADTTMP
+cp -a /usr/share/doc/${pkg}/tests/* $ADTTMP
+gunzip -r *
+LC_ALL=C R --no-save < run-all.R
+rm -fr $ADTTMP/*
More information about the debian-med-commit
mailing list