]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - t/template_syntax.t
build: `set -e` before each `for` loop, so that errors are reliably trapped
[git.ikiwiki.info.git] / t / template_syntax.t
index 1e156eed897890f1e856eb25606ba8057f169975..3e6509f35b7b2d76fcc7f0910e78cce5d2e9482e 100755 (executable)
@@ -3,7 +3,9 @@ use warnings;
 use strict;
 use Test::More;
 
-my @templates=glob("templates/*.tmpl"), glob("doc/templates/*.mdwn");
+plan(skip_all => 'running installed') if $ENV{INSTALLED_TESTS};
+
+my @templates=(glob("templates/*.tmpl"), glob("doc/templates/*.mdwn"));
 plan(tests => 2*@templates);
 
 use HTML::Template;