pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Meskes <meskes@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make some ecpg test cases more robust against unexpected errors
Date: Wed, 30 Jan 2019 09:39:44 +0000
Message-ID: <E1gomLQ-0001TQ-Ke@gemulon.postgresql.org> (raw)

Make some ecpg test cases more robust against unexpected errors that happen
during development. Test cases themselves should not hang or segfault.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e2f731cdba9b7a79cddc64325990a8f51818877b

Modified Files
--------------
.../ecpg/test/compat_informix/test_informix.pgc    |   1 -
.../ecpg/test/compat_informix/test_informix2.pgc   |   4 +-
.../ecpg/test/compat_oracle/char_array.pgc         |   2 +-
.../test/expected/compat_informix-test_informix.c  |  33 +++--
.../expected/compat_informix-test_informix.stderr  |  42 +++---
.../test/expected/compat_informix-test_informix2.c |  84 ++++++-----
.../expected/compat_informix-test_informix2.stderr |  58 ++++----
.../ecpg/test/expected/compat_oracle-char_array.c  |  30 ++--
.../ecpg/test/expected/preproc-outofscope.c        |  61 ++++----
.../ecpg/test/expected/preproc-outofscope.stderr   | 102 +++++++-------
.../test/expected/preproc-whenever_do_continue.c   |  16 +--
src/interfaces/ecpg/test/expected/sql-binary.c     | 156 +++++++++++----------
.../ecpg/test/expected/sql-binary.stderr           |  96 ++++++-------
src/interfaces/ecpg/test/expected/sql-fetch.c      |  69 ++++-----
src/interfaces/ecpg/test/expected/sql-fetch.stderr |  28 ++--
src/interfaces/ecpg/test/expected/sql-quote.c      |  32 ++---
src/interfaces/ecpg/test/preproc/outofscope.pgc    |  11 --
.../ecpg/test/preproc/whenever_do_continue.pgc     |   2 +-
src/interfaces/ecpg/test/sql/binary.pgc            |  56 ++------
src/interfaces/ecpg/test/sql/fetch.pgc             |  10 +-
src/interfaces/ecpg/test/sql/quote.pgc             |   2 +-
21 files changed, 408 insertions(+), 487 deletions(-)



Message-ID: <E1gomLQ-0001TQ-Ke@gemulon.postgresql.org>
Permalink:  ../E1gomLQ-0001TQ-Ke@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gomLQ-0001TQ-Ke@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: meskes@postgresql.org
  Subject: Re: pgsql: Make some ecpg test cases more robust against unexpected errors
  In-Reply-To: <E1gomLQ-0001TQ-Ke@gemulon.postgresql.org>
  References: <E1gomLQ-0001TQ-Ke@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox