[r-cran-spatstat] 18/38: Get the unit test right

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 327e064eefa09b56a389fefc2b37304d50cfd662
Author: Andreas Tille <tille at debian.org>
Date:   Wed Jan 15 22:44:36 2014 +0000

    Get the unit test right
---
 debian/rules               | 6 +++---
 debian/tests/run-unit-test | 6 +++++-
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index cca62d0..562813b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
-# 							-*- makefile -*-
-# debian/rules file for the Debian/GNU Linux r-cran-spatstat package
-# Copyright 2009 by Andreas Tille <tille at debian.org>
+#	-*- makefile -*-
+
+DEB_COMPRESS_EXCLUDE = .R
 
 include /usr/share/R/debian/r-cran.mk
 
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index 653cb22..f2ea4a6 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -1,4 +1,8 @@
 #!/bin/sh -e
 
-cd /usr/share/doc/r-cran-spatstat/tests
+DIR=`mktemp -d`
+cd $DIR
+cp -a /usr/share/doc/r-cran-spatstat/tests/* .
 LC_ALL=C R --no-save < alltests.R
+cd ..
+rm -rf $DIR

-- 
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