From 38464b1fdc3b13b1ccb49f3d1e50d1ff8a71aebf Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Thu, 5 May 2016 11:01:04 -0500 Subject: [PATCH] Don't exit after individual file --- ansible_testing/modules.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ansible_testing/modules.py b/ansible_testing/modules.py index bedaafb9a64..cc3d762b5c3 100644 --- a/ansible_testing/modules.py +++ b/ansible_testing/modules.py @@ -599,7 +599,6 @@ def main(): exit = [] - # Allow testing against a single file for module in args.modules: if os.path.isfile(module): path = module @@ -608,7 +607,6 @@ def main(): mv = ModuleValidator(path) mv.validate() exit.append(mv.report(args.warnings)) - sys.exit(sum(exit)) for root, dirs, files in os.walk(module): basedir = root[len(module)+1:].split('/', 1)[0]