]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - t/templates_documented.t
Run autopkgtest tests using autodep8 and the pkg-perl team's infrastructure
[git.ikiwiki.info.git] / t / templates_documented.t
index 826c51d3667ab1ae93c636c330e010d379630fec..4991e4521eaeee71b86b991c1e54643c9290da4a 100755 (executable)
@@ -1,7 +1,9 @@
 #!/usr/bin/perl
 use warnings;
 use strict;
-use Test::More 'no_plan';
+use Test::More;
+
+plan(skip_all => 'running installed') if $ENV{INSTALLED_TESTS};
 
 $/=undef;
 open(IN, "doc/templates.mdwn") || die "doc/templates.mdwn: $!";
@@ -12,3 +14,5 @@ foreach my $file (glob("templates/*.tmpl")) {
        $file=~s/templates\///;
        ok($page =~ /\Q$file\E/, "$file documented on doc/templates.mdwn");
 }
+
+done_testing();