Skip site navigation (1) Skip section navigation (2)

fix for pg_regress.sh on mingw

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: fix for pg_regress.sh on mingw
Date: 2004-05-28 20:24:52
Message-ID: 40B7A013.6070300@dunslane.net (view raw or flat)
Thread:
Lists: pgsql-patches
With the attached patch "make check" runs cleanly for me under MSys/Mingw.

Description of changes:

. only use the -W flag on pwd for $pkglibdir. All the other paths need 
to be seen as MSys type paths, whereas $pkglibdir needs to be expressed 
as a genuine windows path.
. run single tests in the background and explicitly wait for them - 
solves the problem of the MSys shell not waiting properly for the copy 
test to finish.
. use pg_ctl to shut down the test postmaster - no more use of ad hoc 
kill programs or the task manager.

With these changes there should no longer be any need to run regression 
tests from cygwin for native Windows builds - you can simply run "make 
check" from the build directory in the build environment.

cheers

andrew


Attachment: pg_regress.sh.diff
Description: text/plain (2.9 KB)

Responses

pgsql-patches by date

Next:From: Bruce MomjianDate: 2004-05-28 20:49:08
Subject: Re: Libpq ssl fix
Previous:From: Andrew DunstanDate: 2004-05-28 19:31:14
Subject: Re: patch for different join result order on regression test for

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group