diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2015-10-21 18:09:59 -0700 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2015-10-21 18:46:17 -0700 |
commit | 289b7b9f7ab7c5897f64803241402d1afed192ce (patch) | |
tree | 5e734ac9c4ee11f736a2423312bdffbd24c8843e | |
parent | c8b94418f89bfb79b852b9a17e6c9d881ea65df2 (diff) |
add notion of unimplemented interop tests
-rwxr-xr-x | tools/run_tests/run_interop_tests.py | 55 |
1 files changed, 41 insertions, 14 deletions
diff --git a/tools/run_tests/run_interop_tests.py b/tools/run_tests/run_interop_tests.py index ace7a5e55d..9b9f22c2c0 100755 --- a/tools/run_tests/run_interop_tests.py +++ b/tools/run_tests/run_interop_tests.py @@ -73,6 +73,9 @@ class CXXLanguage: def global_env(self): return {} + def unimplemented_test_cases(self): + return [] + def __str__(self): return 'c++' @@ -96,6 +99,9 @@ class CSharpLanguage: def global_env(self): return {} + def unimplemented_test_cases(self): + return [] + def __str__(self): return 'csharp' @@ -119,6 +125,9 @@ class JavaLanguage: def global_env(self): return {} + def unimplemented_test_cases(self): + return [] + def __str__(self): return 'java' @@ -143,6 +152,9 @@ class GoLanguage: def global_env(self): return {} + def unimplemented_test_cases(self): + return [] + def __str__(self): return 'go' @@ -166,6 +178,9 @@ class NodeLanguage: def global_env(self): return {} + def unimplemented_test_cases(self): + return [] + def __str__(self): return 'node' @@ -185,6 +200,9 @@ class PHPLanguage: def global_env(self): return {} + def unimplemented_test_cases(self): + return [] + def __str__(self): return 'php' @@ -208,6 +226,9 @@ class RubyLanguage: def global_env(self): return {} + def unimplemented_test_cases(self): + return [] + def __str__(self): return 'ruby' @@ -231,6 +252,9 @@ class PythonLanguage: def global_env(self): return {'LD_LIBRARY_PATH': 'libs/opt'} + def unimplemented_test_cases(self): + return ['jwt_token_creds', 'per_rpc_creds'] + def __str__(self): return 'python' @@ -669,17 +693,19 @@ try: if args.cloud_to_prod: for language in languages: for test_case in _TEST_CASES: - test_job = cloud_to_prod_jobspec(language, test_case, - docker_image=docker_images.get(str(language))) - jobs.append(test_job) + if not test_case in language.unimplemented_test_cases(): + test_job = cloud_to_prod_jobspec(language, test_case, + docker_image=docker_images.get(str(language))) + jobs.append(test_job) if args.cloud_to_prod_auth: for language in languages: for test_case in _AUTH_TEST_CASES: - test_job = cloud_to_prod_jobspec(language, test_case, - docker_image=docker_images.get(str(language)), - auth=True) - jobs.append(test_job) + if not test_case in language.unimplemented_test_cases(): + test_job = cloud_to_prod_jobspec(language, test_case, + docker_image=docker_images.get(str(language)), + auth=True) + jobs.append(test_job) for server in args.override_server: server_name = server[0] @@ -690,13 +716,14 @@ try: (server_host, server_port) = server_address for language in languages: for test_case in _TEST_CASES: - test_job = cloud_to_cloud_jobspec(language, - test_case, - server_name, - server_host, - server_port, - docker_image=docker_images.get(str(language))) - jobs.append(test_job) + if not test_case in language.unimplemented_test_cases(): + test_job = cloud_to_cloud_jobspec(language, + test_case, + server_name, + server_host, + server_port, + docker_image=docker_images.get(str(language))) + jobs.append(test_job) if not jobs: print 'No jobs to run.' |