[med-svn] [r-cran-shinybs] 02/05: Verify whether it is possible to add an autopkgtest but failed, upload to new

Andreas Tille tille at debian.org
Mon Oct 2 06:56:04 UTC 2017


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository r-cran-shinybs.

commit e061a798980ede55c7ead8cca772b575cac6be65
Author: Andreas Tille <tille at debian.org>
Date:   Fri Jul 1 13:54:28 2016 +0000

    Verify whether it is possible to add an autopkgtest but failed, upload to new
---
 debian/changelog           |  6 +++---
 debian/tests/run-unit-test | 23 +++++++++++++++++++++++
 2 files changed, 26 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index bc72547..a400e72 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-r-cran-shinybs (0.61-1) UNRELEASED; urgency=low
+r-cran-shinybs (0.61-1) unstable; urgency=low
 
-  * Initial release (closes: #???)
+  * Initial release (closes: #829216)
 
- -- Andreas Tille <tille at debian.org>  Tue, 28 Jun 2016 17:09:05 +0200
+ -- Andreas Tille <tille at debian.org>  Fri, 01 Jul 2016 15:50:33 +0200
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
new file mode 100644
index 0000000..01b71d3
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,23 @@
+#!/bin/sh -e
+
+cat <<EOT
+These tests result in something like
+   Listening on http://127.0.0.1:7613
+and can not be used as autopkgtest in this form.
+EOT
+exit
+
+oname=shinyBS
+pkg=r-cran-`echo $oname | tr '[A-Z]' '[a-z]'`
+
+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/lib/R/site-library/${oname}/tests/* $ADTTMP
+find . -name "*.gz" -exec gunzip \{\} \;
+for rfile in *.[rR] ; do
+  R CMD BATCH $rfile
+  echo "$rfile passed"
+done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r-cran-shinybs.git



More information about the debian-med-commit mailing list