Rev 47810 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
#-*- Makefile -*-## ${R_HOME}/tests/Makefile.installsrcdir = .top_srcdir = ..top_builddir = ..all check: test-all-basicscheck-devel: check test-all-develcheck-all: check-devel test-Recommendedinclude $(top_builddir)/etc$(R_ARCH)/Makeconfinclude Makefile.common## GNU gettext disables LANGUAGE if LC_ALL=C, but other systems might not.R = LANGUAGE=en LC_ALL=C SRCDIR=$(srcdir) R_DEFAULT_PACKAGES= $(top_builddir)/bin/R --vanillaR2 = R_DEFAULT_PACKAGES= $(top_builddir)/bin/R --vanillaR3 = $(top_builddir)/bin/R CMD checkRDIFF = $(top_builddir)/bin/R CMD RdiffRDCONV = $(top_builddir)/bin/R CMD RdconvMK = $(MAKE)all-basic-tests = BasePackages Specific Reg Internet## not Docs Standaloneall-devel-tests = IsAs Random Demo Primitive Regexp Segfault## <NOTE>## 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## </NOTE>test-BasePackages:@$(MKINSTALLDIRS) Packages@$(ECHO) "tools::testInstalledPackages(outDir='Packages', scope='base')" | $(R) --slavetest-Recommended:@$(MKINSTALLDIRS) Packages@$(ECHO) "tools::testInstalledPackages(outDir='Packages', scope='recommended')" | $(R) --slavemostlyclean: cleanclean:-@rm -f stamp-R Rplot* Rprof.out data dumpdata.R \reg-plot-latin1.ps reg-plot.ps reg-tests-?.ps \R-exts.* R-intro.R R-intro.Rout \FALSE* .R .tex mirrors.html PACKAGES*-@rm -f testit.txt testit.html testit.tex testit-Ex.R-@rm -f ver10.txt ver10.html ver10.tex ver10-Ex.R-@rm -f ver11.txt ver11.html ver11.tex ver11-Ex.R-@rm -rf anRpackage myTst* myLibclean2: clean-@rm -f $(test-out) $(test-src-auto) .RDatadistclean: clean-@for d in $(SUBDIRS); do \(cd $${d} && $(MAKE) $@); \done-@rm -f $(test-out) $(test-src-auto) .RData-@rm -rf *.Rcheck Packagesmaintainer-clean: distclean