components/r/Makefile
changeset 4899 7dd77eb11d2a
parent 4898 a26d3de1812a
child 4900 75f0429dab65
equal deleted inserted replaced
4898:a26d3de1812a 4899:7dd77eb11d2a
    99 CONFIGURE_OPTIONS += --enable-prebuilt-html
    99 CONFIGURE_OPTIONS += --enable-prebuilt-html
   100 
   100 
   101 COMPONENT_PRE_TEST_ACTION = \
   101 COMPONENT_PRE_TEST_ACTION = \
   102 	$(RM) $(BUILD_DIR_64)/tests/Examples/*.prev
   102 	$(RM) $(BUILD_DIR_64)/tests/Examples/*.prev
   103 
   103 
       
   104 COMPONENT_PRE_SYSTEM_TEST_ACTION = \
       
   105 	$(RM) $(BUILD_DIR_64)/tests/Examples/*.prev
       
   106 
   104 # Increase stack limit to allow the "infinite recursion" test to work.
   107 # Increase stack limit to allow the "infinite recursion" test to work.
   105 COMPONENT_TEST_ENV_CMD =	ulimit -Ss 32768 ; $(ENV)
   108 COMPONENT_TEST_ENV_CMD =	ulimit -Ss 32768 ; $(ENV)
       
   109 COMPONENT_SYSTEM_TEST_ENV_CMD =	ulimit -Ss 32768 ; $(ENV)
   106 
   110 
   107 # Master test results are different between x86 and SPARC.
   111 # Master test results are different between x86 and SPARC.
   108 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-$(MACH).master
   112 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-$(MACH).master
   109 
   113 
   110 COMPONENT_TEST_TRANSFORMS += \
   114 COMPONENT_TEST_TRANSFORMS += \
   114 	'-e "/^running /p" ' \
   118 	'-e "/^running /p" ' \
   115 	'-e "/^  expect some differences/p" '
   119 	'-e "/^  expect some differences/p" '
   116 
   120 
   117 ASLR_MODE = $(ASLR_ENABLE)
   121 ASLR_MODE = $(ASLR_ENABLE)
   118 
   122 
   119 COMPONENT_TEST_ARGS =   -k -i
   123 # Use the installed version of R, not the one in the build area.
       
   124 # These definitions override those found in .../test/Makefile.
       
   125 COMPONENT_SYSTEM_TEST_ARGS += R="LANGUAGE=en LC_ALL=C SRCDIR=$(srcdir) R_DEFAULT_PACKAGES= /usr/bin/R --vanilla"
       
   126 COMPONENT_SYSTEM_TEST_ARGS += R2="R_DEFAULT_PACKAGES= /usr/bin/R --vanilla"
       
   127 COMPONENT_SYSTEM_TEST_ARGS += R3="/usr/bin/R CMD check"
       
   128 COMPONENT_SYSTEM_TEST_ARGS += RDIFF="/usr/bin/R CMD Rdiff"
       
   129 COMPONENT_SYSTEM_TEST_ARGS += RDCONV="LC_CTYPE=C /usr/bin/R CMD Rdconv"
       
   130 
       
   131 COMPONENT_TEST_ARGS =		-k -i
       
   132 COMPONENT_SYSTEM_TEST_ARGS +=	-k -i
   120 
   133 
   121 configure:	$(CONFIGURE_64)
   134 configure:	$(CONFIGURE_64)
   122 
   135 
   123 build:		$(BUILD_64)
   136 build:		$(BUILD_64)
   124 
   137 
   125 install:	$(INSTALL_64)
   138 install:	$(INSTALL_64)
   126 
   139 
   127 test:		$(TEST_64)
   140 test:		$(TEST_64)
   128 
   141 
   129 system-test:	$(SYSTEM_TESTS_NOT_IMPLEMENTED)
   142 # Need to build the tests before use them.
       
   143 system-test:	build $(SYSTEM_TEST_64)
   130 
   144 
   131 REQUIRED_PACKAGES += image/library/libjpeg
   145 REQUIRED_PACKAGES += image/library/libjpeg
   132 REQUIRED_PACKAGES += image/library/libpng
   146 REQUIRED_PACKAGES += image/library/libpng
   133 REQUIRED_PACKAGES += image/library/libtiff
   147 REQUIRED_PACKAGES += image/library/libtiff
   134 REQUIRED_PACKAGES += library/desktop/cairo
   148 REQUIRED_PACKAGES += library/desktop/cairo