From cac34646d50e9c1cbb3776535f0220350d64302c Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Tue, 13 Nov 2018 21:51:39 -0800 Subject: [PATCH] [stable-2.6] Add change classification for powershell wrappers. (cherry picked from commit c25db4ee8d5dd0f3d1aafcbddb2680a1d7ef81b9) Co-authored-by: Matt Clay --- test/runner/lib/classification.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/runner/lib/classification.py b/test/runner/lib/classification.py index b5e39c904df..404e561b347 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)