20463707 Python's distutils test need compiler in PATH s11-update
authorJohn Beck <John.Beck@Oracle.COM>
Tue, 03 Feb 2015 09:36:03 -0800
branchs11-update
changeset 3795 cfd59dfe98a2
parent 3794 4c9c1c3e5031
child 3796 82cd21906ac2
20463707 Python's distutils test need compiler in PATH
components/pylint/pylint-GENFRAG.p5m
components/pylint/pylint-PYVER.p5m
components/python/python27/Makefile
components/python/python34/Makefile
--- a/components/python/python27/Makefile	Wed Jan 29 13:44:48 2014 -0800
+++ b/components/python/python27/Makefile	Tue Feb 03 09:36:03 2015 -0800
@@ -176,7 +176,8 @@
 # between tests.
 #
 COMPONENT_TEST_ENV = EXTRATESTOPTS="-v -uall,-network $(TESTOPTS_PYTHON_TEST)"
-COMPONENT_TEST_ENV += PATH="$(PATH)"
+# The distutils tests need $CC in $PATH.
+COMPONENT_TEST_ENV += PATH="$(SPRO_VROOT)/bin:$(PATH)"
 COMPONENT_TEST_TARGETS = test
 
 test:				$(TEST_32_and_64)
--- a/components/python/python34/Makefile	Wed Jan 29 13:44:48 2014 -0800
+++ b/components/python/python34/Makefile	Tue Feb 03 09:36:03 2015 -0800
@@ -171,7 +171,8 @@
 # between tests.
 #
 COMPONENT_TEST_ENV = EXTRATESTOPTS="-v -uall,-network $(TESTOPTS_PYTHON_TEST)"
-COMPONENT_TEST_ENV += PATH="$(PATH)"
+# The distutils tests need $CC in $PATH.
+COMPONENT_TEST_ENV += PATH="$(SPRO_VROOT)/bin:$(PATH)"
 # Prevent the tests from getting stuck waiting for input.
 COMPONENT_TEST_TARGETS = test < /dev/null