|
|
@ -61,7 +61,7 @@ class SimpleConfig(object): |
|
|
|
self.environ = environ |
|
|
|
self.environ = environ |
|
|
|
self.environ['CONFIG'] = config |
|
|
|
self.environ['CONFIG'] = config |
|
|
|
|
|
|
|
|
|
|
|
def job_spec(self, cmdline, hash_targets): |
|
|
|
def job_spec(self, cmdline, hash_targets, shortname=None): |
|
|
|
"""Construct a jobset.JobSpec for a test under this config |
|
|
|
"""Construct a jobset.JobSpec for a test under this config |
|
|
|
|
|
|
|
|
|
|
|
Args: |
|
|
|
Args: |
|
|
@ -74,6 +74,7 @@ class SimpleConfig(object): |
|
|
|
be listed |
|
|
|
be listed |
|
|
|
""" |
|
|
|
""" |
|
|
|
return jobset.JobSpec(cmdline=cmdline, |
|
|
|
return jobset.JobSpec(cmdline=cmdline, |
|
|
|
|
|
|
|
shortname=shortname, |
|
|
|
environ=self.environ, |
|
|
|
environ=self.environ, |
|
|
|
hash_targets=hash_targets |
|
|
|
hash_targets=hash_targets |
|
|
|
if self.allow_hashing else None) |
|
|
|
if self.allow_hashing else None) |
|
|
@ -218,9 +219,13 @@ class RubyLanguage(object): |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class CSharpLanguage(object): |
|
|
|
class CSharpLanguage(object): |
|
|
|
|
|
|
|
|
|
|
|
def test_specs(self, config, travis): |
|
|
|
def test_specs(self, config, travis): |
|
|
|
return [config.job_spec('tools/run_tests/run_csharp.sh', None)] |
|
|
|
assemblies = ['Grpc.Core.Tests', |
|
|
|
|
|
|
|
'Grpc.Examples.Tests', |
|
|
|
|
|
|
|
'Grpc.IntegrationTesting'] |
|
|
|
|
|
|
|
return [config.job_spec(['tools/run_tests/run_csharp.sh', assembly], |
|
|
|
|
|
|
|
None, shortname=assembly) |
|
|
|
|
|
|
|
for assembly in assemblies ] |
|
|
|
|
|
|
|
|
|
|
|
def make_targets(self): |
|
|
|
def make_targets(self): |
|
|
|
return ['grpc_csharp_ext'] |
|
|
|
return ['grpc_csharp_ext'] |
|
|
|