aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-09-16 17:50:45 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-09-28 15:00:34 -0700
commitf88f3e2c69df107a6414c32fbb7937375f81afd6 (patch)
tree2d0500ed11b64e0dbb3ab89d4d39e95d52b6ac26 /tools/run_tests
parentf49936acef3cd54d758b7253404be4f1884f965a (diff)
enable php interop tests
Diffstat (limited to 'tools/run_tests')
-rwxr-xr-xtools/run_tests/run_interop_tests.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/run_tests/run_interop_tests.py b/tools/run_tests/run_interop_tests.py
index 05fd0bb27b..e9c4ce0a0f 100755
--- a/tools/run_tests/run_interop_tests.py
+++ b/tools/run_tests/run_interop_tests.py
@@ -98,6 +98,24 @@ class NodeLanguage:
def __str__(self):
return 'node'
+
+class PHPLanguage:
+
+ def __init__(self):
+ self.client_cmdline_base = ['src/php/bin/interop_client.sh']
+ self.client_cwd = None
+
+ def cloud_to_prod_args(self):
+ return (self.client_cmdline_base + _CLOUD_TO_PROD_BASE_ARGS +
+ ['--use_tls'])
+
+ def cloud_to_prod_env(self):
+ return _SSL_CERT_ENV
+
+ def __str__(self):
+ return 'php'
+
+
class RubyLanguage:
def __init__(self):
@@ -120,6 +138,7 @@ _LANGUAGES = {
'c++' : CXXLanguage(),
'csharp' : CSharpLanguage(),
'node' : NodeLanguage(),
+ 'php' : PHPLanguage(),
'ruby' : RubyLanguage(),
}