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

Re: SSI patch version 14

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Markus Wanner <markus(at)bluegap(dot)ch>
Cc: Simon Riggs <simon(at)2ndQuadrant(dot)com>, Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: SSI patch version 14
Date: 2011-02-02 13:04:28
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
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 ./ 
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
./ --temp-install --top-builddir=../../.. \
Postgres dtester suite                Copyright (c) 2004-2010, by Markus 

Traceback (most recent call last):
   File "./", line 1376, in <module>
   File "./", line 1370, in main
     runner = Runner(reporter=TapReporter(sys.stdout, sys.stderr, 
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 ./ 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

In response to


pgsql-hackers by date

Next:From: Itagaki TakahiroDate: 2011-02-02 13:12:51
Previous:From: Heikki LinnakangasDate: 2011-02-02 12:56:55
Subject: Re: SSI patch version 14

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