[r-cran-yaml] 01/01: Fix autopkgtest (tried to write to read-only directory)
Gordon Ball
chronitis-guest at moszumanska.debian.org
Thu Nov 3 15:23:18 UTC 2016
This is an automated email from the git hooks/post-receive script.
chronitis-guest pushed a commit to branch master
in repository r-cran-yaml.
commit 4f4a4e70df61c81dfbc5b038dc52efada947edea
Author: Gordon Ball <gordon at chronitis.net>
Date: Thu Nov 3 15:14:05 2016 +0000
Fix autopkgtest (tried to write to read-only directory)
---
debian/changelog | 7 +++++++
debian/tests/run-unit-test | 9 +++++++--
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 7e08d2c..ee4643c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+r-cran-yaml (2.1.13-6) UNRELEASED; urgency=medium
+
+ * Team upload.
+ * Fix autopkgtest (tried to write to a read-only location)
+
+ -- Gordon Ball <gordon at chronitis.net> Thu, 03 Nov 2016 15:12:18 +0000
+
r-cran-yaml (2.1.13-5) unstable; urgency=medium
* Team upload
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index 17b3f0a..1665db4 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -8,5 +8,10 @@ if [ "$ADTTMP" = "" ] ; then
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 < run-all.R
+cp -a /usr/lib/R/site-library/${oname}/tests $ADTTMP
+ls -R $ADTTMP
+LC_ALL=C R --no-save <<EOR
+ require("yaml")
+ require("testthat")
+ test_dir("tests")
+EOR
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-yaml.git
More information about the debian-science-commits
mailing list