summaryrefslogtreecommitdiff
path: root/t/syntax
blob: 76fd46ae68626e5aa5f8fa8384697cca04028a79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/perl
use Test;

my @progs=grep { -x $_ } glob("dh_*");
my @libs=glob("Debian/Debhelper/*.pm");

plan(tests => (@progs + @libs));

foreach my $file (@progs, @libs) {
	print "# Testing $file\n";
	ok(system("perl -c $file >/dev/null 2>&1"), 0);
}