pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Eugene Kazakov <e.kazakov@postgrespro.ru>
To: pgsql-hackers@postgresql.org
Subject: Small PATCH: check of 2 Perl modules
Date: Fri, 12 Feb 2016 16:20:32 +0300
Message-ID: <56BDDC20.9020506@postgrespro.ru> (raw )
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
TAP-tests need two Perl modules: Test::More and IPC::Run.
The patch adds checking of modules in configure.in and configure.
Eugene Kazakov,
Postgres Professional
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Attachments:
[text/x-patch] CheckingOfPerlModules.patch (857B, ../56BDDC20.9020506@postgrespro.ru/2-CheckingOfPerlModules.patch)
download | inline diff:
diff --git a/configure b/configure
index 1903815..da6ed4b 100755
--- a/configure
+++ b/configure
@@ -15554,6 +15554,8 @@ done
if test -z "$PERL"; then
as_fn_error $? "Perl not found" "$LINENO" 5
fi
+ AX_PROG_PERL_MODULES( Test::More, , as_fn_error $? "Need Perl Test::More module " "$LINENO" 5)
+ AX_PROG_PERL_MODULES( IPC::Run, , as_fn_error $? "Need Perl IPC::Run module " "$LINENO" 5)
fi
# Thread testing
diff --git a/configure.in b/configure.in
index 0bd90d7..17e0caa 100644
--- a/configure.in
+++ b/configure.in
@@ -2055,6 +2055,8 @@ if test "$enable_tap_tests" = yes; then
if test -z "$PERL"; then
AC_MSG_ERROR([Perl not found])
fi
+ AX_PROG_PERL_MODULES( Test::More, , AC_MSG_ERROR( [Need Perl Test::More module] ))
+ AX_PROG_PERL_MODULES( IPC::Run, , AC_MSG_ERROR( [Need Perl IPC::Run module] ))
fi
# Thread testing
view thread (13+ messages) latest in thread
Message-ID: <56BDDC20.9020506@postgrespro.ru>
Permalink: ../56BDDC20.9020506@postgrespro.ru/
Also on: postgresql.org/message-id/56BDDC20.9020506@postgrespro.ru
copy link · copy postgr.es · copy git am
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: e.kazakov@postgrespro.ru
Subject: Re: Small PATCH: check of 2 Perl modules
In-Reply-To: <56BDDC20.9020506@postgrespro.ru>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox