[med-svn] [SCM] r-bioc-edger branch, master, updated. upstream/2.2.5-27-ga36b562

Charles Plessy plessy at debian.org
Fri Jun 3 06:30:59 UTC 2011


The following commit has been merged in the master branch:
commit 2d90103f03c1b1a623b7e30e3530026fb3d4a222
Author: Charles Plessy <plessy at debian.org>
Date:   Fri Jun 3 15:08:49 2011 +0900

    Instructions for running the upstream regression tests after installing the package.

diff --git a/debian/README.test b/debian/README.test
index e0cb491..68c5b68 100644
--- a/debian/README.test
+++ b/debian/README.test
@@ -1,7 +1,20 @@
-Notes on how this package is tested.
-────────────────────────────────────
+Notes on how to test this package.
+──────────────────────────────────
 
-After building on the maintainer's computer, this package was locally installed
-and the library loaded into R in order to confirm its integrity.
+Upstream regression tests and reference output are available in
+‘/usr/share/doc/r-bioc-edger/tests/’.  The following command runs the tests in
+the current directory and compares their output to the reference.
 
- -- Charles Plessy <plessy at debian.org>  Tue, 07 Sep 2010 15:40:17 +0900
+Do not run them in a directory where you have another R session, as it will be
+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`
+  rm `basename ${test}out` .RData
+done
+
+Successful tests produce no output.
+
+ -- Charles Plessy <plessy at debian.org>  Fri, 03 Jun 2011 15:07:07 +0900
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..afade24
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+tests
+debian/README.test

-- 
empirical analysis of digital gene expression data in R



More information about the debian-med-commit mailing list