Report test_atomic_ops() failures consistently, via macros.

Noah Misch <noah@leadboat.com>

Commit: eb74022d242e86c88c7ee19212e5e3fa0d01bfc5
Author: Noah Misch <noah@leadboat.com>
Date: 2019-10-05T17:05:08Z
Releases: 11.6
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