Author: tille Date: 2014-01-27 15:30:00 +0000 (Mon, 27 Jan 2014) New Revision: 15864
Added: trunk/packages/R/r-cran-surveillance/trunk/debian/docs trunk/packages/R/r-cran-surveillance/trunk/debian/patches/ trunk/packages/R/r-cran-surveillance/trunk/debian/patches/prevent_test_from_writing_to_usr_lib.patch trunk/packages/R/r-cran-surveillance/trunk/debian/patches/series Modified: trunk/packages/R/r-cran-surveillance/trunk/debian/README.test trunk/packages/R/r-cran-surveillance/trunk/debian/changelog Log: Enable proper testing Modified: trunk/packages/R/r-cran-surveillance/trunk/debian/README.test =================================================================== --- trunk/packages/R/r-cran-surveillance/trunk/debian/README.test 2014-01-27 15:04:30 UTC (rev 15863) +++ trunk/packages/R/r-cran-surveillance/trunk/debian/README.test 2014-01-27 15:30:00 UTC (rev 15864) @@ -1,7 +1,8 @@ Notes on how this package can be tested. ──────────────────────────────────────── -This package can be tested by loading it into R with the command -‘library(surveillance)’ in order to confirm its integrity. +This package can be tested by running the provided test: - -- Andreas Tille <[email protected]> Thu, 31 May 2012 09:25:50 +0200 +LC_ALL=C R --no-save < tests/doRUnit.R + +in order to confirm its integrity. Modified: trunk/packages/R/r-cran-surveillance/trunk/debian/changelog =================================================================== --- trunk/packages/R/r-cran-surveillance/trunk/debian/changelog 2014-01-27 15:04:30 UTC (rev 15863) +++ trunk/packages/R/r-cran-surveillance/trunk/debian/changelog 2014-01-27 15:30:00 UTC (rev 15864) @@ -6,8 +6,10 @@ * debian/lintian-overrides: r-cran-rcpp seems to inject an rpath definition and we can not really prevent this * debian/rules: fix permissions + * debian/patches/prevent_test_from_writing_to_usr_lib.patch: make sure + tests will not try to write to /usr/lib/R - -- Andreas Tille <[email protected]> Tue, 14 Jan 2014 16:22:37 +0100 + -- Andreas Tille <[email protected]> Mon, 27 Jan 2014 16:04:11 +0100 r-cran-surveillance (1.2-1-5) unstable; urgency=low Added: trunk/packages/R/r-cran-surveillance/trunk/debian/docs =================================================================== --- trunk/packages/R/r-cran-surveillance/trunk/debian/docs (rev 0) +++ trunk/packages/R/r-cran-surveillance/trunk/debian/docs 2014-01-27 15:30:00 UTC (rev 15864) @@ -0,0 +1,2 @@ +debian/README.test +tests Added: trunk/packages/R/r-cran-surveillance/trunk/debian/patches/prevent_test_from_writing_to_usr_lib.patch =================================================================== --- trunk/packages/R/r-cran-surveillance/trunk/debian/patches/prevent_test_from_writing_to_usr_lib.patch (rev 0) +++ trunk/packages/R/r-cran-surveillance/trunk/debian/patches/prevent_test_from_writing_to_usr_lib.patch 2014-01-27 15:30:00 UTC (rev 15864) @@ -0,0 +1,15 @@ +Author: Andreas Tille <[email protected]> +Last-Update: Mon, 27 Jan 2014 16:04:11 +0100 +Description: make sure tests will not try to write to /usr/lib/R + +--- a/tests/doRUnit.R ++++ b/tests/doRUnit.R +@@ -34,7 +34,7 @@ if(require("RUnit", quietly=TRUE) & + tests <- runTestSuite(testSuite) + + ## Default report name +- pathReport <- file.path(path, "report") ++ pathReport <- "/tmp/r-cran-surveillance_report" + + ## Report to stdout and text files + cat("------------------- UNIT TEST SUMMARY ---------------------\n\n") Added: trunk/packages/R/r-cran-surveillance/trunk/debian/patches/series =================================================================== --- trunk/packages/R/r-cran-surveillance/trunk/debian/patches/series (rev 0) +++ trunk/packages/R/r-cran-surveillance/trunk/debian/patches/series 2014-01-27 15:30:00 UTC (rev 15864) @@ -0,0 +1 @@ +prevent_test_from_writing_to_usr_lib.patch _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
