Commit 6c78da47 authored by jake%acutex.net's avatar jake%acutex.net

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
parent 9efb4a41
...@@ -42,7 +42,7 @@ foreach my $file(@testitems) { ...@@ -42,7 +42,7 @@ foreach my $file(@testitems) {
if (-e $include_path . "/" . $file) { if (-e $include_path . "/" . $file) {
ok(1, "$file exists"); ok(1, "$file exists");
} else { } else {
ok(0, "$file does not exist"); ok(0, "$file does not exist --ERROR");
} }
} }
...@@ -58,7 +58,7 @@ foreach my $file(@testitems) { ...@@ -58,7 +58,7 @@ foreach my $file(@testitems) {
if ($template->process($file)) { if ($template->process($file)) {
ok(1, "$file syntax ok"); ok(1, "$file syntax ok");
} else { } else {
ok(0, "$file has bad syntax"); ok(0, "$file has bad syntax --ERROR");
} }
} }
open STDOUT, ">&SAVEOUT"; # redirect back to original stream open STDOUT, ">&SAVEOUT"; # redirect back to original stream
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment