[med-svn] [r-cran-bbmle] 02/02: Fix autopkgtests: Skip tests which have no saved results

Graham Inggs ginggs at moszumanska.debian.org
Sun Nov 26 06:04:07 UTC 2017


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

ginggs pushed a commit to branch master
in repository r-cran-bbmle.

commit 1da7c3b7d75af5a53b6f36dc139b6e37865fbe7f
Author: Graham Inggs <ginggs at debian.org>
Date:   Sun Nov 26 08:03:56 2017 +0200

    Fix autopkgtests: Skip tests which have no saved results
---
 debian/changelog           | 1 +
 debian/tests/run-unit-test | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f4e91cc..82a57da 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 r-cran-bbmle (1.0.20-2) UNRELEASED; urgency=medium
 
   * Fix autopkgtests: Ignore difference with previously saved workspace
+                      Skip tests which have no saved results
 
  -- Graham Inggs <ginggs at debian.org>  Sun, 26 Nov 2017 06:01:41 +0000
 
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index b19ef0c..bd1c8a3 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -40,6 +40,8 @@ if [ 0 -eq 1 ] ; then # try to use RUnit - but this does not do anything :-(
   RCMDCHECK=FALSE R --vanilla --slave < doRUnit.R
 fi
 
+# skip tests which have no saved results
+rm -f boundstest.R prof_newmin.R prof_spec.R
 for htest in `ls *.R | sed 's/\.R$//'` ; do
    if [ "${htest}" = "doRUnit" -o "${htest}" = "RUnit-tests" ] ; then
       # This is no separate test but should trigger all test (but fails to do so for whatever reason

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



More information about the debian-med-commit mailing list