Re: mb and ecpg regression tests - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: mb and ecpg regression tests
Date
Msg-id 464C7EA4.2070202@dunslane.net
Whole thread Raw
In response to Re: mb and ecpg regression tests  (Dave Page <dpage@postgresql.org>)
Responses Re: mb and ecpg regression tests
List pgsql-hackers

Dave Page wrote:
> Andrew Dunstan wrote:
>   
>> We've had ecpg regression tests being doing by the buildfarm for a
>> while, but they are not enabled for MSVC. Also, buildfarm has never
>> supported doing MBCS regression tests. In both cases the regression
>> tests are driven by Unix shell scripts, and in the MBCS case at least,
>> the script would need plenty of love before it would be suitable for the
>> buildfarm even on Unix.
>>
>> Back when we were thinking of supporting MSVC builds, we thought that
>> everything would need to be a C program, and so we rewrote the main
>> regression script in C, for example. However, now we have a build system
>> for MSVC we can see that its main infrastructure is in fact perl, so I
>> think what we need to do is to convert the MBCS and ECPG regression
>> drivers to perl rather than C - which should be far, far  simpler task.
>>
>> I'm going to try to get these done and supported by the buildfarm by the
>> time we get to Beta.
>>     
>
> I don't think it's essential, but one of the other reasons Magnus and I
> discussed for rewriting the regression tests in C was that we could
> include it in the future with the installer as a platform/installation
> confidence test.
>
>
>   

That's a good point. So, do we want/need the same for MBCS and ECPG tests?

If so, we should work on creating a regression shared lib so we don't 
have to replicate lots of code.

cheers

andrew


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: savepoints and upgrading locks
Next
From: Bruce Momjian
Date:
Subject: 8.3 release date on web site