[r-cran-markdown] 01/01: Skip tests which have no saved results

Graham Inggs ginggs at moszumanska.debian.org
Wed Nov 15 13:27:03 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-markdown.

commit 3ea3200a968949c86fad8a0485bafe5331bab375
Author: Graham Inggs <ginggs at debian.org>
Date:   Wed Nov 15 15:26:55 2017 +0200

    Skip tests which have no saved results
---
 debian/changelog           | 6 ++++++
 debian/tests/run-unit-test | 2 ++
 2 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f46287f..403ae63 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+r-cran-markdown (0.8-2) UNRELEASED; urgency=medium
+
+  * Skip tests which have no saved results
+
+ -- Graham Inggs <ginggs at debian.org>  Wed, 15 Nov 2017 13:25:58 +0000
+
 r-cran-markdown (0.8-1) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index 1e90976..c80075f 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -21,6 +21,8 @@ fi
 cd $ADTTMP
 cp /usr/share/doc/${pkg}/tests/* $ADTTMP
 gunzip *.gz
+# skip tests which have no saved results
+rm -f b64EncodeFile.R empty.R
 for htest in `ls *.R | sed 's/\.R$//'` ; do
    LC_ALL=C R --no-save < ${htest}.R 2>&1 | tee > ${htest}.Rout
    filter ${htest}.Rout.save > ${htest}.Rout.save_

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



More information about the debian-science-commits mailing list