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;