From a0b3bfa35651d2e0223d0ccc5965ca413e7b4354 Mon Sep 17 00:00:00 2001
From: Jorge Canizales <jcanizales@google.com>
Date: Thu, 30 Jul 2015 19:25:52 -0700
Subject: [PATCH] Start integrating ObjC tests in run_tests.py

---
 tools/run_tests/run_tests.py | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index 1f44fc34fa..0f02b4738b 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -304,6 +304,25 @@ class CSharpLanguage(object):
     return 'csharp'
 
 
+class ObjCLanguage(object):
+
+  def test_specs(self, config, travis):
+    return [config.job_spec(['src/objective-c/tests/run_tests.sh'], None,
+                            environ=_FORCE_ENVIRON_FOR_WRAPPERS)]
+
+  def make_targets(self):
+    return []
+
+  def build_steps(self):
+    return []
+
+  def supports_multi_config(self):
+    return False
+
+  def __str__(self):
+    return 'objc'
+
+
 class Sanity(object):
 
   def test_specs(self, config, travis):
@@ -369,6 +388,7 @@ _LANGUAGES = {
     'python': PythonLanguage(),
     'ruby': RubyLanguage(),
     'csharp': CSharpLanguage(),
+    'objc' : ObjCLanguage(),
     'sanity': Sanity(),
     'build': Build(),
     }
-- 
GitLab