# HG changeset patch # User John Beck # Date 1422984963 28800 # Node ID cfd59dfe98a21693f46b88a07799e440238fee83 # Parent 4c9c1c3e5031cd56edafd15645317347c597c47b 20463707 Python's distutils test need compiler in PATH diff -r 4c9c1c3e5031 -r cfd59dfe98a2 components/python/python27/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) diff -r 4c9c1c3e5031 -r cfd59dfe98a2 components/python/python34/Makefile --- 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