File: syntax

package info (click to toggle)
debhelper 7.0.15
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,468 kB
  • ctags: 80
  • sloc: perl: 3,434; makefile: 232; sh: 7
file content (12 lines) | stat: -rwxr-xr-x 255 bytes parent folder | download | duplicates (2)
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);
}