[med-svn] [SCM] r-bioc-edger branch, master, updated. debian/2.6.1_dfsg-1-6-gf2735a4

Charles Plessy plessy at debian.org
Mon Aug 6 06:23:14 UTC 2012


The following commit has been merged in the master branch:
commit 44c9d4e670078446743800c1f0c4390e0d15ffaa
Author: Charles Plessy <plessy at debian.org>
Date:   Mon Aug 6 14:24:58 2012 +0900

    Regression tests for autopkgtest.

diff --git a/debian/README.test b/debian/README.test
index 68c5b68..292a69a 100644
--- a/debian/README.test
+++ b/debian/README.test
@@ -11,10 +11,13 @@ deleted.
 for test in /usr/share/doc/r-bioc-edger/tests/*R
 do
   R CMD BATCH ${test}
-  R CMD Rdiff ${test}out.save `basename ${test}out`
+  R CMD Rdiff ${test}out.save* `basename ${test}out`
   rm `basename ${test}out` .RData
 done
 
 Successful tests produce no output.
 
+This sequence of tests is also implemented debian/tests/with-example-data
+in the source package.
+
  -- Charles Plessy <plessy at debian.org>  Fri, 03 Jun 2011 15:07:07 +0900
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..f08221c
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1 @@
+Tests: upstream
diff --git a/debian/tests/upstream b/debian/tests/upstream
new file mode 100755
index 0000000..5703b0b
--- /dev/null
+++ b/debian/tests/upstream
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+TEMPORARY_DIR=$(mktemp -d)
+
+cd $TEMPORARY_DIR
+
+for test in /usr/share/doc/r-bioc-edger/tests/*R
+do
+  R CMD BATCH ${test}
+  R CMD Rdiff ${test}out.save* `basename ${test}out`
+  rm `basename ${test}out` .RData
+done
+
+cd -
+
+rm -rf $TEMPORARY_DIR

-- 
empirical analysis of digital gene expression data in R



More information about the debian-med-commit mailing list