diff options
author | Yong Ni <yongni@google.com> | 2017-07-14 11:30:56 -0700 |
---|---|---|
committer | Yong Ni <yongni@google.com> | 2017-07-14 12:13:13 -0700 |
commit | 51750dc7d1cb08a3d2fa3b3bd90b48e4e65c7fc8 (patch) | |
tree | eb25a76c8ee57eb0bea1528c10cc55792ec2f471 /tools/interop_matrix/run_interop_matrix_tests.py | |
parent | bf828943cb41f7e82b3db6eb48ee2609f099c765 (diff) |
Added c++ to interop_matrix. Per earlier conversation, interop_matrix will not run against different compiler/toolchains so we are not addding _<runtime> to c++. This simplifies our setup and reduces unnecesary complexities in the infrastructure.
Diffstat (limited to 'tools/interop_matrix/run_interop_matrix_tests.py')
-rwxr-xr-x | tools/interop_matrix/run_interop_matrix_tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/interop_matrix/run_interop_matrix_tests.py b/tools/interop_matrix/run_interop_matrix_tests.py index b1b95ed679..28126ddf5c 100755 --- a/tools/interop_matrix/run_interop_matrix_tests.py +++ b/tools/interop_matrix/run_interop_matrix_tests.py @@ -125,7 +125,6 @@ def find_test_cases(lang, release): # Only line start with 'docker run' are test cases. for line in f.readlines(): if line.startswith('docker run'): - line = line.replace('docker run', 'gcloud docker -- run') m = re.search('--test_case=(.*)"', line) shortname = m.group(1) if m else 'unknown_test' spec = jobset.JobSpec(cmdline=line, @@ -152,6 +151,8 @@ def run_tests_for_lang(lang, runtime, images): for image_tuple in images: release, image = image_tuple jobset.message('START', 'Testing %s' % image, do_newline=True) + # Download the docker image before running each test case. + subprocess.check_call(['gcloud', 'docker', '--', 'pull', image]) _docker_images_cleanup.append(image) job_spec_list = find_test_cases(lang,release) num_failures, resultset = jobset.run(job_spec_list, |