# this patch removed two non-essential tests that fail under portage # - test-internet fails due to ACCESS_VIOLATION # - reg-plot-latin1.R fails probably due to locale mismatch diff -Naur R-2.7.1/tests/Makefile.in R-2.7.1.new/tests/Makefile.in --- R-2.7.1/tests/Makefile.in 2008-06-23 05:39:03.000000000 -0400 +++ R-2.7.1.new/tests/Makefile.in 2008-08-27 18:17:33.000000000 -0400 @@ -40,7 +40,6 @@ test-src-demo = demos.R demos2.R test-src-errmsgs = errormsgs.R -test-src-internet = internet.R test-src-isas = isas-tests.R test-src-primitive = primitives.R test-src-random = p-r-random-tests.R @@ -51,21 +50,19 @@ reg-plot.R reg-S4.R test-src-reg-auto = test-src-reg = $(test-src-reg-1) $(test-src-reg-auto) -test-src-reg3 = reg-tests-3.R reg-plot-latin1.R +test-src-reg3 = reg-tests-3.R DISTFILES = Makefile.in Makefile.win README \ $(test-src-strict-1) $(test-src-strict-1:.R=.Rout.save) \ $(test-src-sloppy-1) $(test-src-sloppy-1:.R=.Rout.save) \ $(test-src-auto:.R=.Rin) isas-tests.Rout.save \ $(test-src-demo) demos.Rout.save \ - $(test-src-internet) internet.Rout.save \ $(test-src-primitive) \ $(test-src-random) p-r-random-tests.Rout.save \ $(test-src-reg) $(test-src-reg3) \ reg-S4.Rout.save \ reg-IO.Rout.save reg-IO2.Rout.save reg-plot.Rout.save \ reg-plot.ps.save reg-tests-2.Rout.save reg-tests-3.Rout.save \ - reg-plot-latin1.ps.save \ reg-win.R encodings.R utf8-regex.R \ errormsgs.R errormsgs.Rout.save \ gct-foot.R \ @@ -89,7 +86,6 @@ test-out-demo = $(test-src-demo:.R=.Rout) test-out-errmsgs = $(test-src-errmsgs:.R=.Rout) -test-out-internet = $(test-src-internet:.R=.Rout) test-out-isas = $(test-src-isas:.R=.Rout) test-out-primitive = $(test-src-primitive:.R=.Rout) test-out-random = $(test-src-random:.R=.Rout) @@ -100,14 +96,13 @@ ## This macro is used only for dependencies test-out = $(test-src:.R=.Rout) $(test-out-demo) $(test-out-gct) \ - $(test-out-internet) \ $(test-out-random) $(test-out-reg) $(test-out-reg3) \ $(test-out-segfault) $(test-out-isas) .SUFFIXES: .SUFFIXES: .R .Rin .Rout .Rout-gct .Rout-valgct -all-basic-tests = Examples Specific Reg Internet +all-basic-tests = Examples Specific Reg all-devel-tests = Docs IsAs Random Demo Rd Primitive Regexp Segfault \ Standalone Packages @@ -173,24 +168,6 @@ -@diff reg-plot.ps $(srcdir)/reg-plot.ps.save @$(ECHO) "$(ECHO_T) OK" -reg-plot-latin1.Rout: reg-plot-latin1.R - @rm -f $@ $@.fail - @$(ECHO) $(ECHO_N) "running code in '$<' ...$(ECHO_C)" - @$(R2) < $< > $@ 2>&1 || (mv $@ $@.fail && exit 1) - @$(ECHO) "$(ECHO_T) OK" - @if test -f $(srcdir)/$@.save ; then \ - mv $@ $@.fail; \ - $(ECHO) $(ECHO_N) \ - "comparing '$@' to '$(srcdir)/$@.save' ...$(ECHO_C)"; \ - $(RDIFF) $@.fail $(srcdir)/$@.save $(RVAL_IF_DIFF) || exit 1; \ - mv $@.fail $@; \ - $(ECHO) "$(ECHO_T) OK"; \ - fi - @$(ECHO) $(ECHO_N) \ - "comparing 'reg-plot-latin1.ps' to '$(srcdir)/reg-plot-latin1.ps.save' ...$(ECHO_C)" - -@diff reg-plot-latin1.ps $(srcdir)/reg-plot-latin1.ps.save - @$(ECHO) "$(ECHO_T) OK" - .R.Rout-gct: @$(ECHO) "running gctorture() + '$<'" @($(ECHO) '.ptime <- proc.time(); gctorture()' ; \ @@ -265,15 +242,6 @@ @$(ECHO) "running tests of error messages" @$(MAKE) $(test-out-errmsgs) RVAL_IF_DIFF=0 -## -## These depend on an internet connection, and the sites being up. -## So allow this to fail: it may be slow doing so. -test-Internet: - @$(ECHO) "running tests of Internet and socket functions" - @$(ECHO) " expect some differences" - -@$(MAKE) $(test-out-internet) RVAL_IF_DIFF=0 -## - test-IsAs: @$(ECHO) "running tests of consistency of as/is.*" @$(MAKE) $(test-out-isas) RVAL_IF_DIFF=1 @@ -434,7 +402,7 @@ (cd $${d} && $(MAKE) $@); \ done -@rm -f stamp-R Makedeps Rplot* Rprof.out data dumpdata.R \ - reg-plot-latin1.ps reg-plot.ps reg-tests-?.ps \ + reg-plot.ps reg-tests-?.ps \ R-exts.* R-intro.R R-intro.Rout \ FALSE.R FALSE.tex mirrors.html -@rm -f testit.txt testit.html testit.tex testit-Ex.R