If a template doesn't exist, this should be considered a compile failure.

No review needed for tests at this time. NOT PART OF BUILD
This commit is contained in:
jake%acutex.net 2001-10-12 20:35:37 +00:00
parent e21b56807d
commit 7bdf2856ba

View File

@ -42,7 +42,7 @@ foreach my $file(@testitems) {
if (-e $include_path . "/" . $file) {
ok(1, "$file exists");
} else {
ok(0, "$file does not exist");
ok(0, "$file does not exist --ERROR");
}
}
@ -58,7 +58,7 @@ foreach my $file(@testitems) {
if ($template->process($file)) {
ok(1, "$file syntax ok");
} else {
ok(0, "$file has bad syntax");
ok(0, "$file has bad syntax --ERROR");
}
}
open STDOUT, ">&SAVEOUT"; # redirect back to original stream