Set shortname for Python tests

This avoids all tests showing up as run_python.sh.
pull/1584/head
Craig Tiller 10 years ago
parent 0fff02c3ba
commit 8302025770
  1. 8
      tools/run_tests/run_tests.py

@ -184,10 +184,14 @@ class PythonLanguage(object):
def test_specs(self, config, travis):
modules = [config.job_spec(['tools/run_tests/run_python.sh', '-m',
test['module']], None)
test['module']],
None,
shortname=test['module'])
for test in self._tests if 'module' in test]
files = [config.job_spec(['tools/run_tests/run_python.sh',
test['file']], None)
test['file']],
None,
shortname=test['file'])
for test in self._tests if 'file' in test]
return files + modules

Loading…
Cancel
Save