components/python/python27/Makefile
changeset 3722 e76241a68272
parent 3693 db350599ce68
child 3747 d2f2bcf116e8
--- 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)