]> git.donarmstrong.com Git - debhelper.git/blob - t/syntax
cmake: Pass CPPFLAGS in CFLAGS. Closes: #668813 Thanks, Simon Ruderich for the patch...
[debhelper.git] / t / syntax
1 #!/usr/bin/perl
2 use Test;
3
4 my @progs=grep { -x $_ } glob("dh_*"), "dh";
5 my @libs=(glob("Debian/Debhelper/*.pm"), glob("Debian/Debhelper/*/*.pm"));
6
7 plan(tests => (@progs + @libs));
8
9 foreach my $file (@progs, @libs) {
10         print "# Testing $file\n";
11         ok(system("perl -c $file >/dev/null 2>&1"), 0);
12 }