components/python/python34/Makefile
changeset 4091 fca9099ab398
parent 3869 eb4c6284602f
child 4304 b35bb72c479d
equal deleted inserted replaced
4089:1788e52b3086 4091:fca9099ab398
   171 COMPONENT_TEST_ENV = EXTRATESTOPTS="-v -uall,-network $(TESTOPTS_PYTHON_TEST)"
   171 COMPONENT_TEST_ENV = EXTRATESTOPTS="-v -uall,-network $(TESTOPTS_PYTHON_TEST)"
   172 # The distutils tests need $CC in $PATH.
   172 # The distutils tests need $CC in $PATH.
   173 COMPONENT_TEST_ENV += PATH="$(SPRO_VROOT)/bin:$(PATH)"
   173 COMPONENT_TEST_ENV += PATH="$(SPRO_VROOT)/bin:$(PATH)"
   174 # Prevent the tests from getting stuck waiting for input.
   174 # Prevent the tests from getting stuck waiting for input.
   175 COMPONENT_TEST_TARGETS = test < /dev/null
   175 COMPONENT_TEST_TARGETS = test < /dev/null
       
   176 # Some different values for system testing.
       
   177 COMPONENT_SYSTEM_TEST_ENV = EXTRATESTOPTS="-v -uall,-network $(TESTOPTS_PYTHON_TEST)"
       
   178 COMPONENT_SYSTEM_TEST_TARGETS = 
       
   179 COMPONENT_SYSTEM_TEST_CMD=	$(PYTHON.3.4)
       
   180 COMPONENT_SYSTEM_TEST_ARGS=	/usr/lib/python3.4/test/regrtest.py -v -uall,-network
   176 
   181 
   177 # The test output contains details from each test, in whatever order they
   182 # The test output contains details from each test, in whatever order they
   178 # complete.  The default _TRANSFORMER is not powerful enough to deal with
   183 # complete.  The default _TRANSFORMER is not powerful enough to deal with
   179 # this; we need heavier artillery.  Extract just the sections that start
   184 # this; we need heavier artillery.  Extract just the sections that start
   180 # with "tests OK." and end with "Re-running failed tests..." for comparison.
   185 # with "tests OK." and end with "Re-running failed tests..." for comparison.
   181 COMPONENT_TEST_TRANSFORMER =	$(NAWK)
   186 COMPONENT_TEST_TRANSFORMER =	$(NAWK)
   182 COMPONENT_TEST_TRANSFORMS =	"'/tests OK./ {results = 1}; /Re-running failed tests in verbose mode/ {results = 0} {if (results) print $0 } '"
   187 COMPONENT_TEST_TRANSFORMS =	"'/tests OK./ {results = 1}; /Re-running failed tests in verbose mode/ {results = 0} {if (results) print $0 } '"
   183 
   188 
   184 test:				$(TEST_64)
   189 test:				$(TEST_64)
       
   190 system-test:			$(SYSTEM_TEST_64)
   185 
   191 
   186 REQUIRED_PACKAGES += compress/bzip2
   192 REQUIRED_PACKAGES += compress/bzip2
   187 REQUIRED_PACKAGES += compress/xz
   193 REQUIRED_PACKAGES += compress/xz
   188 REQUIRED_PACKAGES += database/sqlite-3
   194 REQUIRED_PACKAGES += database/sqlite-3
   189 REQUIRED_PACKAGES += library/database/gdbm
   195 REQUIRED_PACKAGES += library/database/gdbm