Report test_atomic_ops() failures consistently, via macros.

Noah Misch <noah@leadboat.com>

Commit: 639feb92e1186e1de495d1bfdb191869cb56450a
Author: Noah Misch <noah@leadboat.com>
Date: 2019-10-05T17:06:37Z
Releases: 9.6.16
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

Files

PathChange+/−
src/test/regress/regress.c modified +81 −146

Discussion

Cited messages not in the archive: 20190915160021.GA24376@alvherre.pgsql