summaryrefslogtreecommitdiffstats
path: root/debhelper/dh_pgxs_test
diff options
context:
space:
mode:
Diffstat (limited to 'debhelper/dh_pgxs_test')
-rwxr-xr-xdebhelper/dh_pgxs_test11
1 files changed, 11 insertions, 0 deletions
diff --git a/debhelper/dh_pgxs_test b/debhelper/dh_pgxs_test
new file mode 100755
index 0000000..c12bacd
--- /dev/null
+++ b/debhelper/dh_pgxs_test
@@ -0,0 +1,11 @@
+#!/usr/bin/perl
+
+use warnings;
+use strict;
+use Debian::Debhelper::Dh_Lib;
+use Debian::Debhelper::pgxs;
+
+my $target = (@ARGV and $ARGV[0] eq 'loop') ? "." : "build-%v";
+my $pattern = package_pattern();
+
+print_and_doit(qw(pg_buildext installcheck .), $target, $pattern);