pgsql: Report test_atomic_ops() failures consistently, via macros. - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Report test_atomic_ops() failures consistently, via macros.
Date
Msg-id E1iGnXq-0001K8-B4@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Report test_atomic_ops() failures consistently, via macros.

This prints the unexpected value in more failure cases, and it removes
forty-eight hand-maintained error messages.  Back-patch to 9.5, which
introduced these tests.

Reviewed (in an earlier version) by Andres Freund.

Discussion: https://postgr.es/m/20190915160021.GA24376@alvherre.pgsql

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2dbd2cc5a9295f821022e87e20450428ab017608

Modified Files
--------------
src/test/regress/regress.c | 227 ++++++++++++++++-----------------------------
1 file changed, 81 insertions(+), 146 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Avoid use of wildcard in pg_waldump's .gitignore.
Next
From: Tomas Vondra
Date:
Subject: pgsql: Change MemoryContextMemAllocated to return Size