20463707 Python's distutils test need compiler in PATH
authorJohn Beck <John.Beck@Oracle.COM>
Tue, 03 Feb 2015 09:36:03 -0800
changeset 3722 e76241a68272
parent 3718 e20e9cf97325
child 3724 dc74a8d07d25
20463707 Python's distutils test need compiler in PATH
components/python/python27/Makefile
components/python/python34/Makefile
--- a/components/python/python27/Makefile	Mon Feb 02 14:59:54 2015 -0800
+++ b/components/python/python27/Makefile	Tue Feb 03 09:36:03 2015 -0800
@@ -177,7 +177,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	Mon Feb 02 14:59:54 2015 -0800
+++ b/components/python/python34/Makefile	Tue Feb 03 09:36:03 2015 -0800
@@ -172,7 +172,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