This is an automated email from the git hooks/post-receive script. plessy pushed a commit to branch master in repository r-bioc-edger.
commit a429231dc83bb969058de23a084238054c5da948 Author: Charles Plessy <[email protected]> Date: Mon Aug 5 19:25:48 2013 +0900 Correct the autopkgtest as the test files are compressed. --- debian/README.test | 27 +++++++-------------------- debian/tests/upstream | 10 ++++++---- 2 files changed, 13 insertions(+), 24 deletions(-) diff --git a/debian/README.test b/debian/README.test index 292a69a..d5cebd2 100644 --- a/debian/README.test +++ b/debian/README.test @@ -1,23 +1,10 @@ -Notes on how to test this package. -────────────────────────────────── +Notes on how this package is tested. +──────────────────────────────────── -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. +After building on the maintainer's computer, this package was tested +with autopkgtest (see http://dep.debian.net/deps/dep8/), using the +following commands. -Do not run them in a directory where you have another R session, as it will be -deleted. +sudo adt-run --no-built-binaries foo.dsc --- adt-virt-null -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. - -This sequence of tests is also implemented debian/tests/with-example-data -in the source package. - - -- Charles Plessy <[email protected]> Fri, 03 Jun 2011 15:07:07 +0900 + -- Charles Plessy <[email protected]> Mon, 05 Aug 2013 19:25:20 +0900 diff --git a/debian/tests/upstream b/debian/tests/upstream index 5703b0b..d11cae7 100755 --- a/debian/tests/upstream +++ b/debian/tests/upstream @@ -4,11 +4,13 @@ TEMPORARY_DIR=$(mktemp -d) cd $TEMPORARY_DIR -for test in /usr/share/doc/r-bioc-edger/tests/*R +cp /usr/share/doc/r-bioc-limma/tests/* . +for test in *R.gz do - R CMD BATCH ${test} - R CMD Rdiff ${test}out.save* `basename ${test}out` - rm `basename ${test}out` .RData + 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 - -- Alioth's /git/debian-med/git-commit-notice on /srv/git.debian.org/git/debian-med/r-bioc-edger.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
