summaryrefslogtreecommitdiff
path: root/t/syntax
diff options
context:
space:
mode:
Diffstat (limited to 't/syntax')
-rw-r--r--t/syntax11
1 files changed, 11 insertions, 0 deletions
diff --git a/t/syntax b/t/syntax
new file mode 100644
index 0000000..b647b91
--- /dev/null
+++ b/t/syntax
@@ -0,0 +1,11 @@
+#!/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) {
+ ok(system("perl -c $file >/dev/null 2>&1"), 0);
+}