6 my @progs="ikiwiki.in";
8 # monotone, external, amazon_s3 skipped since they need perl modules
9 push @libs, map { chomp; $_ } `find IkiWiki -type f -name \\*.pm | grep -v IkiWiki/Rcs/monotone.pm | grep -v IkiWiki/Plugin/external.pm | grep -v IkiWiki/Plugin/amazon_s3.pm`;
11 plan(tests => (@progs + @libs));
13 foreach my $file (@progs) {
14 ok(system("perl -T -c $file >/dev/null 2>&1") eq 0, $file);
16 foreach my $file (@libs) {
17 ok(system("perl -c $file >/dev/null 2>&1") eq 0, $file);