Rev 67970 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
## ${R_HOME}/tests/MakefileVPATH = @srcdir@srcdir = @srcdir@top_srcdir = @top_srcdir@top_builddir = ..subdir = testsall check: test-all-basicscheck-devel: check test-all-develcheck-all: check-devel test-Packages-Recommendedcheck-recommended: test-Packages-Recommendedinclude $(top_builddir)/Makeconfinclude $(srcdir)/Makefile.common@USE_RECOMMENDED_PACKAGES_FALSE@test-src-reg3 = reg-plot-latin1.Rdistdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)DISTFILES = Makefile.in Makefile.win Makefile.install Makefile.common \$(INSTFILES) gct-foot.R reg-win.R \testit.Rd testit.txt.save testit.html.save \testit.tex.save testit-Ex.R.save \ver20.Rd ver20.txt.save ver20.html.save ver20.tex.save ver20-Ex.R.save \R-intro.Rout.save \test-system.R test-system.Rout.save test-system2.cSUBDIRS = Embedding ExamplesSUBDIRS_WITH_NO_BUILD = Pkgs## SRCDIR is used by reg-tests-1a.R, reg-IO2.R and reg-packages.R## 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 = LC_CTYPE=C $(top_builddir)/bin/R CMD RdconvMK = $(MAKE)all check test-all-basics test-all-devel: Makefile $(srcdir)/Makefile.commonMakefile: $(srcdir)/Makefile.in $(top_builddir)/config.status@cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@test-system2: $(srcdir)/test-system2.c@$(MAIN_LD) -o $@ $(srcdir)/test-system2.c## Not run by any other targettest-System: test-system2-@$(MAKE) test-system.Rout## <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 functions"@$(ECHO) " expect some differences"-@$(MAKE) $(test-out-internet) RVAL_IF_DIFF=0## </NOTE>## <NOTE>## Not all platforms can build standalone.## So allow this to fail.test-Standalone:@$(ECHO) "testing building standalone Rmath"-@(cd $(top_builddir)/src/nmath/standalone; $(MAKE) check)## </NOTE>mostlyclean: cleanclean:-@for d in $(SUBDIRS); do \(cd $${d} && $(MAKE) $@); \done-@rm -f stamp-R Makedeps Rplot* data dumpdata.R \Rplot* Rprof.out Rprofmem.out \reg-examples-*.pdf testCID.* \reg-plot-latin1.ps reg-plot.ps \reg-plot-latin1.pdf reg-plot.pdf reg-tests-*.pdf \R-exts.* R-intro.R R-intro.Rout-@rm -f FALSE* PACKAGES* .R .tex mirrors.html ./-package.Rd ex.gz-@rm -f testit.txt testit.html testit.tex testit-Ex.R-@rm -f ver20.txt ver20.html ver20.tex ver20-Ex.R-@rm -rf anRpackage myTst* myLib-@rm -f *.tar.gz-@rm -f keepsource.tex test-system2 test-system.Rout-@rm -f *.log *.tsin *.trindistclean: clean-@for d in $(SUBDIRS); do \(cd $${d} && $(MAKE) $@); \done-@rm -f Makefile $(test-out) $(test-src-auto) .RData-@rm -rf *.Rcheck RecPackages-@rm -f *.failmaintainer-clean: distcleanR install install-strip uninstall TAGS info dvi:install-tests:@$(ECHO) "installing specific tests"@$(MKINSTALLDIRS) "$(DESTDIR)$(rhome)/tests"@$(MKINSTALLDIRS) "$(DESTDIR)$(rhome)/tests/Packages"@for f in Makefile.common $(INSTFILES); do \$(INSTALL_DATA) $(srcdir)/$${f} "$(DESTDIR)$(rhome)/tests"; \done@$(INSTALL_DATA) $(srcdir)/Makefile.install \"$(DESTDIR)/$(rhome)/tests/Makefile"@(cd Examples; $(MAKE) install-tests)uninstall-tests:@$(ECHO) "uninstalling specific tests and removing results"@rm -rf "$(DESTDIR)$(rhome)/tests"distdir: $(DISTFILES)@for f in $(DISTFILES); do \test -f $(distdir)/$${f} \|| ln $(srcdir)/$${f} $(distdir)/$${f} 2>/dev/null \|| cp -p $(srcdir)/$${f} $(distdir)/$${f}; \done@for d in $(SUBDIRS); do \test -d $(distdir)/$${d} \|| mkdir $(distdir)/$${d} \|| exit 1; \chmod 755 $(distdir)/$${d}; \(cd $${d} && $(MAKE) distdir) \|| exit 1; \done@for d in $(SUBDIRS_WITH_NO_BUILD); do \((cd $(srcdir); $(TAR) -c -f - $(DISTDIR_TAR_EXCLUDE) $${d}) \| (cd $(distdir); $(TAR) -x -f -)) \|| exit 1; \done