25961779 python27 should support 'gmake system-test'
authorJohn Beck <John.Beck@Oracle.COM>
Wed, 26 Apr 2017 11:43:06 -0700
changeset 7952 b54192113df3
parent 7951 3b581304cb26
child 7953 d240e0693286
25961779 python27 should support 'gmake system-test'
components/python/python27/Makefile
--- a/components/python/python27/Makefile	Wed Apr 26 16:46:20 2017 -0700
+++ b/components/python/python27/Makefile	Wed Apr 26 11:43:06 2017 -0700
@@ -204,9 +204,14 @@
 COMPONENT_TEST_TRANSFORMER =	$(NAWK)
 COMPONENT_TEST_TRANSFORMS =	"'/tests OK./ {results = 1}; /Makefile:/ {results = 0} {if (results) print $0 } '"
 
+COMPONENT_SYSTEM_TEST_ENV = EXTRATESTOPTS="-v -uall,-network $(TESTOPTS_PYTHON_TEST)"
+COMPONENT_SYSTEM_TEST_TARGETS = 
+COMPONENT_SYSTEM_TEST_CMD=      $(PYTHON.2.7)
+COMPONENT_SYSTEM_TEST_ARGS=     /usr/lib/python2.7/test/regrtest.py -v -uall,-network
+
 test:				$(TEST_32_and_64)
 
-system-test:    $(SYSTEM_TESTS_NOT_IMPLEMENTED)
+system-test:    $(SYSTEM_TEST_32_and_64)
 
 REQUIRED_PACKAGES += compress/bzip2
 REQUIRED_PACKAGES += database/sqlite-3