6 plan(skip_all => 'running installed') if $ENV{INSTALLED_TESTS};
8 my @progs="ikiwiki.in";
10 # monotone, external, amazon_s3, po, and cvs
11 # skipped since they need perl modules
12 push @libs, map { chomp; $_ } `find IkiWiki -type f -name \\*.pm | grep -v monotone.pm | grep -v external.pm | grep -v amazon_s3.pm | grep -v po.pm | grep -v cvs.pm`;
13 push @libs, 'IkiWiki/Plugin/skeleton.pm.example';
15 plan(tests => (@progs + @libs));
17 foreach my $file (@progs) {
18 ok(system("perl -c $file >/dev/null 2>&1") eq 0, $file);
20 foreach my $file (@libs) {
21 ok(system("perl -c $file >/dev/null 2>&1") eq 0, $file);