diff options
author | Matt Clay <matt@mystile.com> | 2018-12-04 13:32:49 -0800 |
---|---|---|
committer | Matt Davis <nitzmahone@users.noreply.github.com> | 2018-12-04 13:32:49 -0800 |
commit | 7b2da38b1bec45e7eadc5b01d6f801888e061deb (patch) | |
tree | 6d533e09229a63e6f2aaa4bb3e3e0a3dd5f29cd3 | |
parent | 81b1b27048082b5f4e235fbc4564389f9d49d772 (diff) | |
download | ansible-7b2da38b1bec45e7eadc5b01d6f801888e061deb.tar.gz |
[stable-2.5] Add change classification for powershell wrappers. (#49382)
(cherry picked from commit c25db4ee8d5dd0f3d1aafcbddb2680a1d7ef81b9)
Co-authored-by: Matt Clay <matt@mystile.com>
-rw-r--r-- | test/runner/lib/classification.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/runner/lib/classification.py b/test/runner/lib/classification.py index b5e39c904d..404e561b34 100644 --- a/test/runner/lib/classification.py +++ b/test/runner/lib/classification.py @@ -313,6 +313,17 @@ class PathMapper(object): if path.startswith('hacking/'): return minimal + if path.startswith('lib/ansible/executor/powershell/'): + units_path = 'test/units/executor/powershell/' + + if units_path not in self.units_paths: + units_path = None + + return { + 'windows-integration': self.integration_all_target, + 'units': units_path, + } + if path.startswith('lib/ansible/modules/'): module_name = self.module_names_by_path.get(path) |