[r-cran-spatstat] 17/38: Preconditions are now available ... verify testsuite
Andreas Tille
tille at debian.org
Fri Oct 20 14:27:31 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-spatstat.
commit f69636b2c7cbe60bbf7a33ade7d8547b59b8b9bf
Author: Andreas Tille <tille at debian.org>
Date: Wed Jan 15 22:17:37 2014 +0000
Preconditions are now available ... verify testsuite
---
debian/README.test | 10 +++++++---
debian/changelog | 3 +--
debian/control | 9 +++++++--
debian/docs | 1 +
debian/rules | 2 +-
debian/tests/control | 1 +
debian/tests/run-unit-test | 4 ++++
7 files changed, 22 insertions(+), 8 deletions(-)
diff --git a/debian/README.test b/debian/README.test
index 7cf350e..43e1b7f 100644
--- a/debian/README.test
+++ b/debian/README.test
@@ -1,7 +1,11 @@
Notes on how this package can be tested.
────────────────────────────────────────
-This package can be tested by loading it into R with the command
-‘library(spatstat)’ in order to confirm its integrity.
+This package can be tested by running the provided test:
- -- Andreas Tille <tille at debian.org> Wed, 15 May 2013 15:08:19 +0200
+ cd /usr/share/doc/r-cran-spatstat/tests
+ LC_ALL=C R --no-save < alltests.R
+
+in order to confirm its integrity.
+
+ -- Andreas Tille <tille at debian.org> Tue, 14 Jan 2014 16:30:53 +0100
diff --git a/debian/changelog b/debian/changelog
index 215ba11..e43b68b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,5 @@
-r-cran-spatstat (1.35-0-1) UNRELEASED; urgency=low
+r-cran-spatstat (1.35-0-1) unstable; urgency=low
- TODO: r-cran-tensor, r-cran-polyclip
* Initial release (Closes: #709650).
-- Andreas Tille <tille at debian.org> Tue, 14 Jan 2014 16:30:53 +0100
diff --git a/debian/control b/debian/control
index 7f5fdeb..180631a 100644
--- a/debian/control
+++ b/debian/control
@@ -1,5 +1,6 @@
Source: r-cran-spatstat
Section: gnu-r
+XS-Testsuite: autopkgtest
Priority: optional
Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
Uploaders: Andreas Tille <tille at debian.org>
@@ -8,7 +9,9 @@ Build-Depends: debhelper (>= 9.0),
r-base-dev,
r-cran-mgcv,
r-cran-deldir,
- r-cran-abind
+ r-cran-abind,
+ r-cran-tensor,
+ r-cran-polyclip
Standards-Version: 3.9.5
Vcs-Browser: http://anonscm.debian.org/viewvc/debian-science/packages/R/trunk/packages/r-cran-spatstat/trunk/
Vcs-Svn: svn://anonscm.debian.org/debian-science/packages/R/trunk/packages/r-cran-spatstat/trunk/
@@ -21,7 +24,9 @@ Depends: ${misc:Depends},
${R:Depends},
r-cran-mgcv,
r-cran-deldir,
- r-cran-abind
+ r-cran-abind,
+ r-cran-tensor,
+ r-cran-polyclip
Description: GNU R Spatial Point Pattern analysis, model-fitting, simulation, tests
A GNU R package for analysing spatial data, mainly Spatial Point Patterns,
including multitype/marked points and spatial covariates, in any
diff --git a/debian/docs b/debian/docs
index 50f6656..8fe8108 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1 +1,2 @@
debian/README.test
+tests
diff --git a/debian/rules b/debian/rules
index bf48c07..cca62d0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@
include /usr/share/R/debian/r-cran.mk
clean::
- rm -f src/*.so
+ rm -f src/*.so Rplots.pdf
install/$(package)::
chmod 644 debian/$(package)/usr/lib/R/site-library/$(cranName)/doc/*
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..707a5b9
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1 @@
+Tests: run-unit-test
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
new file mode 100644
index 0000000..653cb22
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,4 @@
+#!/bin/sh -e
+
+cd /usr/share/doc/r-cran-spatstat/tests
+LC_ALL=C R --no-save < alltests.R
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-spatstat.git
More information about the debian-science-commits
mailing list