Re: regression.out and regression.diff - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: regression.out and regression.diff
Date
Msg-id Pine.LNX.4.30.0102281651450.775-100000@peter.localdomain
Whole thread Raw
In response to Re: regression.out and regression.diff  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane writes:

> I have no idea why Peter thinks 'make installcheck' should be less
> reliable than 'make check'.  If installcheck fails for you, let's
> see that too.

In the test run that Vince had posted to his web tool, the server process
apparently didn't have write permission to the source tree, so all the
tests that did a COPY failed, plus all subsequent tests that depended on
those tables.  Additionally, the installcheck is also prone to fail if
template1 was initialized with a different multibyte encoding, if there
was a different locale during initdb, or if there's something fishy in
postgresql.conf.  At least I wouldn't accept installcheck output as a
final result before seeing 'check'.

Additionally, make check also tests 'make install' and 'initdb'
robustness, which installcheck doesn't do, so the former should be
preferred as final test result.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Jaume Teixi
Date:
Subject: Still some problems importing with COPY
Next
From: Olivier PRENANT
Date:
Subject: int8 beta5 broken?