On 02.02.2011 14:48, Markus Wanner wrote:
Heikki,
On 02/02/2011 11:20 AM, Heikki Linnakangas wrote:
I couldn't get it to run on my basic Debian system, clearly I'm
doing something wrong, but it will be even harder for people on more
exotic platforms.
On Debian you only need 'python-twisted' and the dtester sources [1],
IIRC. What issue did you run into?
I installed dtester with:
PYTHONPATH=~/pythonpath/lib/python2.6/site-packages/ python ./setup.py
install --prefix=/home/heikki/pythonpath/
And that worked. But when I try to run Kevin's test suite, I get this:
~/git-sandbox/postgresql/src/test/regress (serializable)$
PYTHONPATH=~/pythonpath/lib/python2.6/site-packages/ make dcheck
./pg_dtester.py --temp-install --top-builddir=../../.. \
--multibyte=
Postgres dtester suite Copyright (c) 2004-2010, by Markus
Wanner
Traceback (most recent call last):
File "./pg_dtester.py", line 1376, in <module>
main(sys.argv[1:])
File "./pg_dtester.py", line 1370, in main
runner = Runner(reporter=TapReporter(sys.stdout, sys.stderr,
showTimingInfo=True),
TypeError: __init__() got an unexpected keyword argument 'showTimingInfo'
make: *** [dcheck] Virhe 1
At that point I had no idea what's wrong.
PS. I tried "python ./setup.py dtest", mentioned in the README, and it
just said "invalid command 'dtest'". But I presume the installation
worked anyway.
Pretty much everything else that Kevin currently uses dtester for (i.e.
initdb, running the postmaster, connecting with psql) is covered by the
existing regression testing infrastructure already, I think. So it
might be a matter of integrating the permutation generation and test
running code into the existing infrastructure. Kevin?
Yeah, that was my impression too. (see my other post with WIP
implementation of that)
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers