From 318492b5bf2c348cf4bc6086e4edcd7294201e8f Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Wed, 27 Nov 2024 10:51:51 +0000 Subject: [PATCH] ci: testsplan: skip module handling with no west changes In cases were west modules did not change, skip. This happens when manifest layout changes, but without SHA changes. Signed-off-by: Anas Nashif --- scripts/ci/test_plan.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/ci/test_plan.py b/scripts/ci/test_plan.py index 9e6c5b66dec177..7004ccd8625dc1 100755 --- a/scripts/ci/test_plan.py +++ b/scripts/ci/test_plan.py @@ -188,6 +188,8 @@ def find_modules(self): logging.info(f'aprojs: {aprojs}') logging.info(f'project: {projs_names}') + if not projs_names: + return _options = [] for p in projs_names: _options.extend(["-t", p ])