Rev 61268 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
#-*- Makefile -*-## ${R_HOME}/tests/Makefile.winall check: test-all-basicscheck-devel: check test-all-develcheck-all: check-devel test-Packages-Recommendedcheck-recommended: test-Packages-Recommended# for R_PKGS_BASEinclude ../src/gnuwin32/MkRulesinclude ../share/make/vars.mksrcdir = .top_srcdir = ..top_builddir = ..R_HOME = ..include Makefile.commonR = $(R_HOME)/$(BINDIR)/Rterm --vanilla LC_ALL=C SRCDIR=. R_DEFAULT_PACKAGES=R2 = $(R_HOME)/$(BINDIR)/Rterm --vanilla SRCDIR=. R_DEFAULT_PACKAGES=R3 = $(R_HOME)/$(BINDIR)/Rcmd checkRDIFF = $(R_HOME)/$(BINDIR)/R CMD RdiffRVAL_IF_DIFF=0## suppress fancy quotes for diff-ingRDCONV = LC_ALL=C $(R_HOME)/$(BINDIR)/Rcmd RdconvECHO = echoECHO_C =ECHO_N = -nECHO_T =MK = $(MAKE) -f Makefile.winTAR = tartest-src-reg-1e = reg-win.Rall-basic-tests = Examples Specific Reg Internetall-devel-tests = Docs IsAs Random Demo Primitive Regexp Segfault \Standalone Packagesall check test-all-basics test-all-devel: Makefile.win Makefile.commontest-system2.exe: test-system2.ctest-System: test-system2.exe@$(MK) test-system.Routinternet.Rout2:-@$(R) --internet2 < internet.R > internet.Rout2 2>&1 || \echo " testing --internet2 failed"## <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:@$(RM) -f internet.Rout internet.Rout2@$(ECHO) "running tests of Internet and socket functions"@$(ECHO) " expect some differences"-@$(MK) $(test-out-internet) RVAL_IF_DIFF=0 || \$(ECHO) " testing standard internet connectivity failed"@$(MK) internet.Rout2 RVAL_IF_DIFF=0-@diff internet.Rout internet.Rout2test-Standalone:@echo "testing building standalone Rmath"@$(MAKE) -C ../src/nmath/standalone -f Makefile.win all test || exit 1@$(MAKE) -C ../src/nmath/standalone -f Makefile.win cleanclean:@rm -f *.Rout *.Rout.fail internet.Rout2 \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@rm -f R-exts_res.rc Makedeps@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.exe test-system.Rout@$(MK) -C Examples $@@$(MK) -C Embedding $@distclean: clean@$(MK) -C Examples $@@rm -rf *.Rcheck Packagesinstall-tests:@for f in $(INSTFILES); do \cp $(srcdir)/$${f} "$(INST_TO)"; \done@$(MAKE) -C Examples -f Makefile.win install-tests INST_TO="$(INST_TO)"