diff options
author | 2016-07-07 16:08:01 +0200 | |
---|---|---|
committer | 2016-07-12 01:35:53 +0200 | |
commit | 0589e533cd65a2ca9e0e610cc1b284d016986572 (patch) | |
tree | a7848ae0a0cbb3fb94a49987d8bc33c3683d578b /tools/run_tests/task_runner.py | |
parent | 7126163b92c4b6be0ed8f9954e29fd9965cd7bb6 (diff) |
Make testing toolchain python 3.x compliant
six is necessary for making these scripts cross compatible
between python 2.x and 3.x
Changes:
Add six to python_deps.include
Include python_deps.include to all Dockerfile templates in test directory
Include python_deps.include to all Dockerfile templates in stress_test directory
Include python_deps.include to all Dockerfile templates in interop_test directory
Replace print statements with print function calls (from futute..)
Replace .iteritems() with .items() wherever necessary
use six.moves to import BaseHTTPServer
Generate new dockerfiles using generate_projects.sh
Diffstat (limited to 'tools/run_tests/task_runner.py')
-rwxr-xr-x | tools/run_tests/task_runner.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/run_tests/task_runner.py b/tools/run_tests/task_runner.py index b42aa17cbb..2e3fa443b9 100755 --- a/tools/run_tests/task_runner.py +++ b/tools/run_tests/task_runner.py @@ -30,6 +30,8 @@ """Runs selected gRPC test/build tasks.""" +from __future__ import print_function + import argparse import atexit import jobset @@ -111,7 +113,7 @@ build_jobs = [] for target in targets: build_jobs.append(target.build_jobspec()) if not build_jobs: - print 'Nothing to build.' + print('Nothing to build.') sys.exit(1) jobset.message('START', 'Building targets.', do_newline=True) |