[med-svn] [SCM] r-bioc-limma branch, master, updated. debian/3.12.0_dfsg-1-5-g6902e73

Charles Plessy plessy at debian.org
Mon Aug 6 06:22:09 UTC 2012


The following commit has been merged in the master branch:
commit 6902e736c0c06918d22edb8fba39a26c9a77a8e8
Author: Charles Plessy <plessy at debian.org>
Date:   Mon Aug 6 14:49:52 2012 +0900

    Regression tests for autopkgtest.

diff --git a/debian/README.test b/debian/README.test
index a7dc9f6..75aa812 100644
--- a/debian/README.test
+++ b/debian/README.test
@@ -1,7 +1,10 @@
 Notes on how this package is tested.
 ────────────────────────────────────
 
-After building on the maintainer's computer, this package was locally installed
-and the library loaded into R in order to confirm its integrity.
+After building on the maintainer's computer, this package was tested
+with autopkgtest (see http://dep.debian.net/deps/dep8/), using the
+following commands. 
 
- -- Charles Plessy <plessy at debian.org>  Tue, 07 Sep 2010 15:50:53 +0900
+sudo adt-run --no-built-binaries foo.dsc --- adt-virt-null
+
+ -- Charles Plessy <plessy at debian.org>  Mon, 06 Aug 2012 14:46:57 +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
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..d11cae7
--- /dev/null
+++ b/debian/tests/upstream
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+TEMPORARY_DIR=$(mktemp -d)
+
+cd $TEMPORARY_DIR
+
+cp /usr/share/doc/r-bioc-limma/tests/* .
+for test in *R.gz
+do
+  zcat ${test} > `basename ${test} .gz`
+  R CMD BATCH `basename ${test} .gz`
+  R CMD Rdiff `basename ${test} .gz`out.save* `basename ${test} .gz`out
+  rm `basename ${test} .gz`out .RData
+done
+
+cd -
+
+rm -rf $TEMPORARY_DIR

-- 
linear models for microarray data



More information about the debian-med-commit mailing list