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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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 Content-Type Size
pg_regress.sh.diff text/plain 2.9 KB

Responses

Browse pgsql-patches by date

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