Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WPXRd-0006QO-6F for pgsql-odbc@arkaria.postgresql.org; Mon, 17 Mar 2014 13:19:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WPXRc-0006Fh-MR for pgsql-odbc@arkaria.postgresql.org; Mon, 17 Mar 2014 13:19:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WPXRc-0006Fb-67 for pgsql-odbc@postgresql.org; Mon, 17 Mar 2014 13:19:08 +0000 Received: from smtp-outbound-2.vmware.com ([208.91.2.13]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WPXRX-0001jr-TT for pgsql-odbc@postgresql.org; Mon, 17 Mar 2014 13:19:07 +0000 Received: from sc9-mailhost1.vmware.com (sc9-mailhost1.vmware.com [10.113.161.71]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id B6A012815B; Mon, 17 Mar 2014 06:18:57 -0700 (PDT) Received: from zcs-prod-ext-mta-1.vmware.com (zcs-prod-ext-mta-1.vmware.com [10.113.62.223]) by sc9-mailhost1.vmware.com (Postfix) with ESMTP id B3C5118380; Mon, 17 Mar 2014 06:18:57 -0700 (PDT) Received: from zcs-prod-ext-mta-1.vmware.com (localhost.localdomain [127.0.0.1]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTP id CEC4E12002F; Mon, 17 Mar 2014 06:18:53 -0700 (PDT) Received: from [192.168.1.90] (zimbra-prod-ext-proxy-vip.vmware.com [10.113.63.87]) by zcs-prod-ext-mta-1.vmware.com (Postfix) with ESMTPSA; Mon, 17 Mar 2014 06:18:52 -0700 (PDT) Message-ID: <5326F63D.8040509@vmware.com> Date: Mon, 17 Mar 2014 15:18:53 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 To: Michael Paquier CC: PostgreSQL mailing lists Subject: Re: Adding flag LDFLAGS for compilation of regression tests References: <5322E1C6.4080908@vmware.com> <5326B305.40300@vmware.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -6.9 (------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 03/17/2014 01:24 PM, Michael Paquier wrote: > On Mon, Mar 17, 2014 at 5:32 PM, Heikki Linnakangas > wrote: >> Actually, we could just move test/Makefile to test/Makefile.in, and let >> configure set the LDFLAGS/CFLAGS variables directly in test/Makefile. >> >> I pushed a patch to do that. It doesn't do anything automatic about >> PG_CONFIG; it would still be nice to add a configure flag for that. > configure already sets PG_CONFIG, so we could do like in the patch > attached and add a flag in test/Makefile.in similarly to CFLAGS and > LDFLAGS. Hmm, PG_CONFIG is currently tied to the --with-libpq configure option, so that's only available if you build the driver with libpq. Would need to separate that into a separate option. (A slightly off-topic gripe: I just noticed that the #define constant is called "NOT_USE_LIBPQ", which makes for some odd double-negatives when most of the code blocks dependent on that are "#ifndef NOT_USE_LIBPQ". Would be better to have "USE_LIBPQ" and "#ifdef USE_LIBPQ". I think I'll go fix that..) >> PS. Have you set up a Windows build environment? I don't think anyone's put >> any effort in running the regression tests on Windows yet. If we could make >> that work somehow, that would be nice. > No, I don't have that, but it is on my TODO list. I don't know > precisely when I will be able to come to that, and I am still in the > mood of giving a better test coverage first, like tests for catalog > functions and deprecated functions. Ok, great. - Heikki -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc