[med-svn] [r-cran-plyr] 01/01: Fix test by simply setting LC_ALL=C
Andreas Tille
tille at debian.org
Fri Jun 20 17:10:38 UTC 2014
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository r-cran-plyr.
commit 4c9f07ef7de120edfddcfac7129e92df4fca79b9
Author: Andreas Tille <tille at debian.org>
Date: Fri Jun 20 19:08:43 2014 +0200
Fix test by simply setting LC_ALL=C
---
debian/changelog | 5 ++---
debian/control | 1 +
debian/tests/run-unit-test | 3 +++
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index ad5dd86..8fc5108 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-r-cran-plyr (1.8.1-1) UNRELEASED; urgency=medium
+r-cran-plyr (1.8.1-1) unstable; urgency=medium
ee423f5 Imported Upstream version 1.8.1
@@ -11,8 +11,7 @@ r-cran-plyr (1.8.1-1) UNRELEASED; urgency=medium
[ Andreas Tille ]
* Fix some lintian issues
* Recommends: r-cran-domc (since used in unit test)
- * Add unit test
- TODO: Clarify error in unit test with upstream
+ * Add autopkgtest
-- Andreas Tille <tille at debian.org> Fri, 20 Jun 2014 18:51:08 +0200
diff --git a/debian/control b/debian/control
index 5f27e14..ffbef36 100644
--- a/debian/control
+++ b/debian/control
@@ -4,6 +4,7 @@ Uploaders: Carlos Borroto <carlos.borroto at gmail.com>,
Andreas Tille <tille at debian.org>
Section: gnu-r
Priority: optional
+Testsuite: autopkgtest
Build-Depends: debhelper (>= 9),
cdbs,
r-base-dev,
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index a69ded8..9c15f23 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -1,6 +1,9 @@
#!/bin/sh -e
pkg=r-cran-plyr
+
+# Make sure we are using C locale to pass all tests
+LC_ALL=C
if [ "$ADTTMP" = "" ] ; then
ADTTMP=`mktemp -d /tmp/${pkg}-test.XXXXXX`
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r-cran-plyr.git
More information about the debian-med-commit
mailing list