|
Lines 84-117
foreach my $theme (@themes) {
Link Here
|
| 84 |
$theme->{'modules'}, |
84 |
$theme->{'modules'}, |
| 85 |
$theme->{'includes'}, |
85 |
$theme->{'includes'}, |
| 86 |
|
86 |
|
| 87 |
# templates to exclude from testing because |
87 |
# templates or dirs to exclude from testing because |
| 88 |
# they cannot stand alone |
88 |
# they cannot stand alone |
| 89 |
'doc-head-close.inc', |
89 |
'doc-head-close.inc', |
| 90 |
'opac-bottom.inc', |
90 |
'opac-bottom.inc', |
| 91 |
'ill/backends/Standard/shared/forms/article.inc', |
91 |
'ill/backends/Standard/shared/forms', |
| 92 |
'ill/backends/Standard/shared/forms/book.inc', |
|
|
| 93 |
'ill/backends/Standard/shared/forms/chapter.inc', |
| 94 |
'ill/backends/Standard/shared/forms/conference.inc', |
| 95 |
'ill/backends/Standard/shared/forms/dvd.inc', |
| 96 |
'ill/backends/Standard/shared/forms/journal.inc', |
| 97 |
'ill/backends/Standard/shared/forms/resource.inc', |
| 98 |
'ill/backends/Standard/shared/forms/thesis.inc', |
| 99 |
); |
92 |
); |
| 100 |
} else { |
93 |
} else { |
| 101 |
run_template_test( |
94 |
run_template_test( |
| 102 |
$theme->{'modules'}, |
95 |
$theme->{'modules'}, |
| 103 |
$theme->{'includes'}, |
96 |
$theme->{'includes'}, |
| 104 |
|
97 |
|
| 105 |
# templates to exclude from testing because |
98 |
# templates or dirs to exclude from testing because |
| 106 |
# they cannot stand alone |
99 |
# they cannot stand alone |
| 107 |
'ill/backends/Standard/shared/forms/article.inc', |
100 |
'ill/backends/Standard/shared/forms' |
| 108 |
'ill/backends/Standard/shared/forms/book.inc', |
|
|
| 109 |
'ill/backends/Standard/shared/forms/chapter.inc', |
| 110 |
'ill/backends/Standard/shared/forms/conference.inc', |
| 111 |
'ill/backends/Standard/shared/forms/dvd.inc', |
| 112 |
'ill/backends/Standard/shared/forms/journal.inc', |
| 113 |
'ill/backends/Standard/shared/forms/resource.inc', |
| 114 |
'ill/backends/Standard/shared/forms/thesis.inc', |
| 115 |
); |
101 |
); |
| 116 |
} |
102 |
} |
| 117 |
$pm->finish; |
103 |
$pm->finish; |
|
Lines 150-156
sub create_template_test {
Link Here
|
| 150 |
} |
136 |
} |
| 151 |
); |
137 |
); |
| 152 |
foreach my $exclusion (@exclusions) { |
138 |
foreach my $exclusion (@exclusions) { |
| 153 |
if ( $_ =~ /${exclusion}$/ ) { |
139 |
if ( $_ =~ /${exclusion}/ ) { |
| 154 |
diag("excluding template $_ because it cannot stand on its own"); |
140 |
diag("excluding template $_ because it cannot stand on its own"); |
| 155 |
return; |
141 |
return; |
| 156 |
} |
142 |
} |
| 157 |
- |
|
|