From c871b973337d20ab75e2753dbd8902c8e5c49a8c Mon Sep 17 00:00:00 2001 From: joey Date: Mon, 7 Nov 2005 20:16:50 +0000 Subject: r1811: * Remove dh_shlibs from binary-indep section of debian/rules. * Add t/syntax to make sure all dh_* commands and the libraries syntax check ok. --- t/syntax | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 t/syntax (limited to 't') diff --git a/t/syntax b/t/syntax new file mode 100644 index 00000000..b647b915 --- /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); +} -- cgit v1.2.3