improving python3 regression test setup

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: improving python3 regression test setup
Date: 2012-09-07 00:33:33
Message-ID: 1346978013.29120.12.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I have developed a patch to make the python3 regression test setup a bit
simpler. Currently, we are making mangled copies of
plpython/{expected,sql} to plpython/python3/{expected,sql}, and run the
tests in plpython/python3. This has the disadvantage that the
regression.diffs file, if any, ends up in plpython/python3, which is not
the normal location. If we instead make the mangled copies in
plpython/{expected,sql}/python3/, we can run the tests from the normal
directory, regression.diffs ends up the normal place, and the pg_regress
invocation also becomes a lot simpler. It's also more obvious at run
time what's going on, because the tests end up being named
"python3/something" in the test output.

Attachment Content-Type Size
pg-python-regress.patch text/x-patch 2.8 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2012-09-07 00:56:03 Re: improving python3 regression test setup
Previous Message Andrew Dunstan 2012-09-06 21:24:24 Re: bug of pg_trgm?