diff --git a/scripts/tools/zap_regen_all.py b/scripts/tools/zap_regen_all.py index b5bfae13730278..1a4e5768bb209a 100755 --- a/scripts/tools/zap_regen_all.py +++ b/scripts/tools/zap_regen_all.py @@ -374,7 +374,7 @@ def getTargets(type, test_target): targets = [] if type & TargetType.TESTS: - targets.extend(getTestsTemplatesTargets('all')) + targets.extend(getTestsTemplatesTargets(test_target)) if type & TargetType.GLOBAL: targets.extend(getGlobalTemplatesTargets())