[r-cran-nleqslv] 02/03: Add autopkgtests (simply run tests/*.R).

Sébastien Villemot sebastien at debian.org
Thu Jun 8 15:19:04 UTC 2017


This is an automated email from the git hooks/post-receive script.

sebastien pushed a commit to branch master
in repository r-cran-nleqslv.

commit 81f314d206656d1da0b9ca9c90110429d8ac4a94
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Thu Jun 8 17:02:47 2017 +0200

    Add autopkgtests (simply run tests/*.R).
---
 debian/tests/control | 5 +++++
 debian/tests/generic | 7 +++++++
 2 files changed, 12 insertions(+)

diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..8a1936d
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,5 @@
+Tests: generic
+Depends: @,
+Restrictions: allow-stderr
+
+
diff --git a/debian/tests/generic b/debian/tests/generic
new file mode 100644
index 0000000..eb39c8e
--- /dev/null
+++ b/debian/tests/generic
@@ -0,0 +1,7 @@
+#!/bin/sh -e
+
+for testfile in tests/*.R; do
+    echo "BEGIN TEST $testfile"
+    LC_ALL=C R --no-save < $testfile
+done
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-nleqslv.git



More information about the debian-science-commits mailing list