Update ansible-test change handling and CS plugin. (#24395)

* Use CloudStack simulator from Ansible repo.
* Recognize cloud specific ansible-test changes.
* Hide ansible-test cs notice in explain mode.
This commit is contained in:
Matt Clay 2017-05-09 16:15:27 +08:00 committed by GitHub
commit e6934e42be
2 changed files with 13 additions and 2 deletions

View file

@ -378,6 +378,16 @@ class PathMapper(object):
test_path = os.path.dirname(test_path)
if path.startswith('test/runner/lib/cloud/'):
cloud_target = 'cloud/%s/' % name
if cloud_target in self.integration_targets_by_alias:
return {
'integration': cloud_target,
}
return all_tests() # test infrastructure, run all tests
if path.startswith('test/runner/'):
return all_tests() # test infrastructure, run all tests