Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZKUMk-00073c-7H for pgsql-hackers@arkaria.postgresql.org; Wed, 29 Jul 2015 16:38:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZKUMj-0001hO-Pt for pgsql-hackers@arkaria.postgresql.org; Wed, 29 Jul 2015 16:38:01 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZKUMi-0001dW-0n for pgsql-hackers@postgresql.org; Wed, 29 Jul 2015 16:38:00 +0000 Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZKUMf-00085u-IX for pgsql-hackers@postgresql.org; Wed, 29 Jul 2015 16:37:58 +0000 Received: by wibxm9 with SMTP id xm9so209316180wib.0 for ; Wed, 29 Jul 2015 09:37:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=V+QwjNoiKZMdfKJF9GWmyMmTkIkSs+hUj8MrJvXZxxs=; b=fYaYB8wP39RlnZhvxERZfZj7G1dKwvt0LbnsNXPZJkJTNfd8e4KrSuNcmtYmumMvy/ Sn161bSiBhBdG9KIKyzMg0KvmQ3/RlGpLAXAM7nUEvEaAy7SJ/EaNoNi/9E61B9Q8ogb fHvWjCKMtuZMnyLJ+9B87tffZ3ZerKN1rsyhQmKk1GhW500eP6Uz6kb15QdrofjLNQTC S1ZnnyRVLg7FiwjeQPCErRP+SlEAc8fnuiZnyMHjrmlElV+rJOEPxhqco0UQp/yHVxiq fpXcugRD4AicE+lQ9/If39RxemVx60z4i/E29EbzBz5gVKoRrFim7K8XF1CCVisx+EYj E41Q== X-Received: by 10.180.94.7 with SMTP id cy7mr18300761wib.79.1438187876083; Wed, 29 Jul 2015 09:37:56 -0700 (PDT) Received: from [192.168.1.105] (dsl-hkibrasgw1-58c38f-82.dhcp.inet.fi. [88.195.143.82]) by smtp.gmail.com with ESMTPSA id d17sm39412261wjs.32.2015.07.29.09.37.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Jul 2015 09:37:54 -0700 (PDT) Message-ID: <55B90161.5090506@iki.fi> Date: Wed, 29 Jul 2015 19:37:53 +0300 From: Heikki Linnakangas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Michael Paquier , Noah Misch CC: PostgreSQL mailing lists Subject: Re: Supporting TAP tests with MSVC and Windows References: <20150403062230.GA1153652@tornado.leadboat.com> <55B2758E.1010205@iki.fi> <20150725071408.GA1442444@tornado.leadboat.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.4 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 07/29/2015 10:13 AM, Michael Paquier wrote: > On Sat, Jul 25, 2015 at 10:54 PM, Michael Paquier > wrote: >> An updated patch is attached. > > Attached is v9, that fixes conflicts with 01f6bb4 and recent commits > that added TAP tests in pg_basebackup series. Thanks, committed with some more tweaking. Peter just added a slurp_file() function to TestLib.pm, so I used that to replace the call to 'cat' instead of my previous snippet. I also fixed the issue in the pg_basebackup test, that LSN is not necessarily 8 characters long, slightly differently. Calling pg_xlogfile_name seemed a bit indirect. I expanded the documentation on how to download and install IPC::Run. I instructed to add PERL5LIB to buildenv.pl, pointing it to the extracted IPC-Run-0.94/lib directory. Your phrasing of "putting it into PERL5LIB" was pretty vague, and in fact the PERL5LIB environment variable was overwritten in vcregress.pl, so just setting the PERL5LIB variable wouldn't have worked. I changed vcregress.pl to not do that. I considered moving the instructions on downloading and installing IPC::Run in the Requirements section, instead of the Running the Regression Tests section. But there are additional instructions on downloading and installing more dependencies in the Building the Documentation section too. The other dependencies in the Requirements section affect the built binaries. Well, except for the Diff utility. We're not totally consistent, but I think it's OK as it is. > Also I added an equivalent of --enable-tap-tests for this MSVC stuff, > removed afterwards by Heikki. Do we want it or not? On Unix, that option controls whether "make check-world" runs the TAP tests, but there is no equivalent of "check-world" on Windows. Maybe there should be, but as long as there isn't, the only thing that the option did was to stop "vcregress tapcheck" from working, if didn't enable it in the config file first. That seems silly, so I removed it. We'll need it if we add an equivalent of "make check-world" to vcregress, but let's cross that bridge when we get there. - Heikki -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers