Rev 9011 | 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 = testsinclude $(top_builddir)/Makeconfdistdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)test-src-strict-1 = \arith-true.R \arith.R \d-p-q-r-tests.R \eval-etc.R \is-things.R \lm-tests.R \primitive-funs.R \method-dispatch.R \simple-true.Rtest-src-strict-auto = \isas-tests.Rtest-src-sloppy-1 = \print-tests.Rtest-src-sloppy-auto = \no-segfault.RDISTFILES = Makefile.in README \$(test-src-strict-1) $(test-src-strict-1:.R=.Rout.save) \$(test-src-sloppy-1) $(test-src-sloppy-1:.R=.Rout.save) \isas-tests.Rin isas-tests.Rout.save \no-segfault.RinSUBDIRS = ExamplesR = LC_ALL=C $(top_builddir)/bin/R --vanillaRDIFF = $(top_builddir)/bin/Rdifftest-src-strict = $(test-src-strict-1) $(test-src-strict-auto)test-src-sloppy = $(test-src-sloppy-1) $(test-src-sloppy-auto)test-src-auto = $(test-src-strict-auto) $(test-src-sloppy-auto)test-src = $(test-src-strict) $(test-src-sloppy)test-out-strict = $(test-src-strict:.R=.Rout)test-out-sloppy = $(test-src-sloppy:.R=.Rout)test-out = $(test-src:.R=.Rout).SUFFIXES:.SUFFIXES: .R .Rin .Routall: Makefile test-AllMakefile: $(srcdir)/Makefile.in $(top_builddir)/config.status@cd $(top_builddir) && \CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= \$(SHELL) ./config.statusMakedeps: Makefile@(for f in $(test-src); do \if [ -f $(srcdir)/${f}out.save ]; then \echo "$${f}out: $${f} \$$(srcdir)/$${f}out.save \$$(FORCE)"; \else \echo "$${f}out: $${f} \$$(FORCE)"; \fi \done) >> Makefile@touch $@FORCE:.Rin.R: stamp-R@echo "creating \`$@'"@$(R) < $< > /dev/null.R.Rout:@rm -f $@ $@.fail@echo "running \`$<'"@$(R) < $< > $@@if [ -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"; \fitest-All: Makefile@$(MAKE) test-Examples@$(MAKE) test-Specifictest-Examples:@(cd Examples && $(MAKE) $@)test-Specific-strict: $(test-out-strict)test-Specific-sloppy: $(test-out-sloppy)test-Specific:@echo "updating test dependencies"@$(MAKE) Makedeps@echo "running strict specific tests"@$(MAKE) test-Specific-strict RVAL_IF_DIFF=1@echo "running sloppy specific tests"@$(MAKE) test-Specific-sloppy RVAL_IF_DIFF=0# Note: we need to increase nsize (in fact, twice the default) in what# follows to make sure we can load the base package twice.test-undoc:@for p in $(R_PKGS); do \echo "undocumented objects in package \`$${p}':"; \nsize=`$(R) --print-nsize`; \nsize=`expr 2 \* $${nsize}`; \echo "undoc(\"$${p}\")" \| $(R) --nsize=$${nsize} \| grep "^ *\\["; \echo; \done$(test-out): Makefile stamp-Rstamp-R: $(top_builddir)/bin/R.bin $(top_builddir)/library/base/R/base@touch $@mostlyclean: cleanclean:@-(cd Examples; $(MAKE) $@)@rm -f stamp-R Makedeps Rplot* *.Rddistclean: clean@-(cd Examples; $(MAKE) $@)@rm -f Makefile $(test-out) $(test-src-auto)maintainer-clean: distcleandistdir: $(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## Automagically generated dependencies: