[med-svn] [r-bioc-rbgl] 04/05: Run official test suite

Andreas Tille tille at debian.org
Thu Sep 1 10:01:43 UTC 2016


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

tille pushed a commit to branch master
in repository r-bioc-rbgl.

commit c3c3776524b63f0400d3450f50ece5517af86450
Author: Andreas Tille <tille at debian.org>
Date:   Thu Sep 1 11:55:04 2016 +0200

    Run official test suite
---
 debian/tests/control       | 4 ++--
 debian/tests/run-unit-test | 6 ++++++
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/tests/control b/debian/tests/control
index 74f7dd4..25377fc 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,3 +1,3 @@
-Test-Command: R -e "library('RBGL')"
-Depends: @
+Tests: run-unit-test
+Depends: @, r-cran-runit
 Restrictions: allow-stderr
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
new file mode 100644
index 0000000..2488792
--- /dev/null
+++ b/debian/tests/run-unit-test
@@ -0,0 +1,6 @@
+#!/bin/sh -e
+
+LC_ALL=C R --no-save <<EOT
+BiocGenerics:::testPackage("RBGL")
+EOT
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r-bioc-rbgl.git



More information about the debian-med-commit mailing list