From 107804fb872eea2cb9e21d6f54e747ba047c9c9e Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 5 Aug 2019 18:34:55 +0100 Subject: [PATCH] Bug 11529: (RM follow-up) Add WHILE to directive list The QA tools don't current recognise the WHILE directive used in this template update. This patch adds the keyword to the list of recognised directives and thus allows through unfiltered variables during QA runs. Signed-off-by: Martin Renvoize --- t/lib/QA/TemplateFilters.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/t/lib/QA/TemplateFilters.pm b/t/lib/QA/TemplateFilters.pm index dad22df4b8..18bb8031ff 100644 --- a/t/lib/QA/TemplateFilters.pm +++ b/t/lib/QA/TemplateFilters.pm @@ -11,6 +11,7 @@ our @tt_directives = ( qr{^\s*ELSIF}, qr{^\s*END}, qr{^\s*SET}, + qr{^\s*WHILE}, qr{^\s*FOR}, qr{^\s*FOREACH}, qr{^\s*MACRO}, -- 2.39.5