r46458 - in /packages/R/r-cran-spatstat/trunk/debian: rules tests/run-unit-test

tille at users.alioth.debian.org tille at users.alioth.debian.org
Wed Jan 15 22:44:36 UTC 2014


Author: tille
Date: Wed Jan 15 22:44:36 2014
New Revision: 46458

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=46458
Log:
Get the unit test right

Modified:
    packages/R/r-cran-spatstat/trunk/debian/rules
    packages/R/r-cran-spatstat/trunk/debian/tests/run-unit-test

Modified: packages/R/r-cran-spatstat/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spatstat/trunk/debian/rules?rev=46458&op=diff
==============================================================================
--- packages/R/r-cran-spatstat/trunk/debian/rules	(original)
+++ packages/R/r-cran-spatstat/trunk/debian/rules	Wed Jan 15 22:44:36 2014
@@ -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
 

Modified: packages/R/r-cran-spatstat/trunk/debian/tests/run-unit-test
URL: http://svn.debian.org/wsvn/debian-science/packages/R/r-cran-spatstat/trunk/debian/tests/run-unit-test?rev=46458&op=diff
==============================================================================
--- packages/R/r-cran-spatstat/trunk/debian/tests/run-unit-test	(original)
+++ packages/R/r-cran-spatstat/trunk/debian/tests/run-unit-test	Wed Jan 15 22:44:36 2014
@@ -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




More information about the debian-science-commits mailing list