aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/run_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/run_tests/run_tests.py')
-rwxr-xr-xtools/run_tests/run_tests.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index baad727e51..aee19cdc42 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -170,11 +170,16 @@ class PythonLanguage(object):
self._tests = json.load(f)
def test_specs(self, config, travis):
- return [config.job_spec(['tools/run_tests/run_python.sh', test], None)
- for test in self._tests]
+ modules = [config.job_spec(['tools/run_tests/run_python.sh', '-m',
+ test['module']], None)
+ for test in self._tests if 'module' in test]
+ files = [config.job_spec(['tools/run_tests/run_python.sh',
+ test['file']], None)
+ for test in self._tests if 'file' in test]
+ return files + modules
def make_targets(self):
- return ['static_c']
+ return ['static_c', 'grpc_python_plugin']
def build_steps(self):
return [['tools/run_tests/build_python.sh']]