From 4b4c02166c8b6653566f10e6608d6d158d9fa911 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 22 Apr 2025 12:46:33 -0300 Subject: [PATCH] Bug 38340: Add exclusions to xt/author/valid-templates.t Signed-off-by: Tomas Cohen Arazi Signed-off-by: Martin Renvoize --- xt/author/valid-templates.t | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/xt/author/valid-templates.t b/xt/author/valid-templates.t index 44b316ecc74..fbbf03c2c48 100755 --- a/xt/author/valid-templates.t +++ b/xt/author/valid-templates.t @@ -88,11 +88,30 @@ foreach my $theme (@themes) { # they cannot stand alone 'doc-head-close.inc', 'opac-bottom.inc', + 'ill/backends/Standard/shared/forms/article.inc', + 'ill/backends/Standard/shared/forms/book.inc', + 'ill/backends/Standard/shared/forms/chapter.inc', + 'ill/backends/Standard/shared/forms/conference.inc', + 'ill/backends/Standard/shared/forms/dvd.inc', + 'ill/backends/Standard/shared/forms/journal.inc', + 'ill/backends/Standard/shared/forms/resource.inc', + 'ill/backends/Standard/shared/forms/thesis.inc', ); } else { run_template_test( $theme->{'modules'}, $theme->{'includes'}, + + # templates to exclude from testing because + # they cannot stand alone + 'ill/backends/Standard/shared/forms/article.inc', + 'ill/backends/Standard/shared/forms/book.inc', + 'ill/backends/Standard/shared/forms/chapter.inc', + 'ill/backends/Standard/shared/forms/conference.inc', + 'ill/backends/Standard/shared/forms/dvd.inc', + 'ill/backends/Standard/shared/forms/journal.inc', + 'ill/backends/Standard/shared/forms/resource.inc', + 'ill/backends/Standard/shared/forms/thesis.inc', ); } $pm->finish; -- 2.49.0