Skip to content

Commit

Permalink
Changed how python versions are specified
Browse files Browse the repository at this point in the history
  • Loading branch information
murgatroid99 committed Mar 2, 2015
1 parent 0af2a46 commit a2af8a1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion tools/run_tests/build_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ set -ex
cd $(dirname $0)/../..

root=`pwd`
virtualenv python2.7_virtual_environment
virtualenv -p /usr/bin/python2.7 python2.7_virtual_environment
source python2.7_virtual_environment/bin/activate
echo $PATH
which pip
Expand Down
34 changes: 17 additions & 17 deletions tools/run_tests/run_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,24 @@ source python2.7_virtual_environment/bin/activate
echo $PATH
ls -l python2.7_virtual_environment
ls -l python2.7_virtual_environment/bin
which python2.7
which python
# TODO(issue 215): Properly itemize these in run_tests.py so that they can be parallelized.
# TODO(atash): Enable dynamic unused port discovery for this test.
python2.7 -B test/compiler/python_plugin_test.py --build_mode=opt
python2.7 -B -m grpc._adapter._blocking_invocation_inline_service_test
python2.7 -B -m grpc._adapter._c_test
python2.7 -B -m grpc._adapter._event_invocation_synchronous_event_service_test
python2.7 -B -m grpc._adapter._future_invocation_asynchronous_event_service_test
python2.7 -B -m grpc._adapter._links_test
python2.7 -B -m grpc._adapter._lonely_rear_link_test
python2.7 -B -m grpc._adapter._low_test
python2.7 -B -m grpc.early_adopter.implementations_test
python2.7 -B -m grpc.framework.assembly.implementations_test
python2.7 -B -m grpc.framework.base.packets.implementations_test
python2.7 -B -m grpc.framework.face.blocking_invocation_inline_service_test
python2.7 -B -m grpc.framework.face.event_invocation_synchronous_event_service_test
python2.7 -B -m grpc.framework.face.future_invocation_asynchronous_event_service_test
python2.7 -B -m grpc.framework.foundation._later_test
python2.7 -B -m grpc.framework.foundation._logging_pool_test
python -B test/compiler/python_plugin_test.py --build_mode=opt
python -B -m grpc._adapter._blocking_invocation_inline_service_test
python -B -m grpc._adapter._c_test
python -B -m grpc._adapter._event_invocation_synchronous_event_service_test
python -B -m grpc._adapter._future_invocation_asynchronous_event_service_test
python -B -m grpc._adapter._links_test
python -B -m grpc._adapter._lonely_rear_link_test
python -B -m grpc._adapter._low_test
python -B -m grpc.early_adopter.implementations_test
python -B -m grpc.framework.assembly.implementations_test
python -B -m grpc.framework.base.packets.implementations_test
python -B -m grpc.framework.face.blocking_invocation_inline_service_test
python -B -m grpc.framework.face.event_invocation_synchronous_event_service_test
python -B -m grpc.framework.face.future_invocation_asynchronous_event_service_test
python -B -m grpc.framework.foundation._later_test
python -B -m grpc.framework.foundation._logging_pool_test
# TODO(nathaniel): Get tests working under 3.4 (requires 3.X-friendly protobuf)
# python3.4 -B -m unittest discover -s src/python -p '*.py'

0 comments on commit a2af8a1

Please sign in to comment.