8 push @libs, map { chomp; $_ } `find IkiWiki -type f -name \\*.pm`;
10 plan(tests => (@progs + @libs));
12 foreach my $file (@progs) {
13 print "# Testing $file\n";
14 ok(system("perl -T -c $file >/dev/null 2>&1"), 0);
16 foreach my $file (@libs) {
17 print "# Testing $file\n";
18 ok(system("perl -c $file >/dev/null 2>&1"), 0);