summaryrefslogtreecommitdiff
path: root/t/syntax
diff options
context:
space:
mode:
authorJoey Hess <joeyh@debian.org>2013-09-21 13:16:34 -0400
committerJoey Hess <joeyh@debian.org>2013-09-21 13:16:34 -0400
commit775d1ca63964312b7f519edfe0cce476669617f6 (patch)
tree29834fd91c532ee93aec9dfe6e8f1fc4e19019f7 /t/syntax
debhelper (9.20130921) unstable; urgency=low
* dh: Call dh_installxfonts after dh_link, so that it will notice fonts installed via symlinks. Closes: #721264 * Fix FTBFS with perl 5.18. Closes: #722501 * dh_installchangelogs: Add changelog.md to the list of common changelog filenames. # imported from the archive
Diffstat (limited to 't/syntax')
-rwxr-xr-xt/syntax12
1 files changed, 12 insertions, 0 deletions
diff --git a/t/syntax b/t/syntax
new file mode 100755
index 00000000..92455457
--- /dev/null
+++ b/t/syntax
@@ -0,0 +1,12 @@
+#!/usr/bin/perl
+use Test;
+
+my @progs=grep { -x $_ } glob("dh_*"), "dh";
+my @libs=(glob("Debian/Debhelper/*.pm"), 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);
+}