Report test_atomic_ops() failures consistently, via macros.
authorNoah Misch <noah@leadboat.com>
Sat, 5 Oct 2019 17:05:05 +0000 (10:05 -0700)
committerNoah Misch <noah@leadboat.com>
Sat, 5 Oct 2019 17:05:05 +0000 (10:05 -0700)
commite800bd7414df3ce8170761e5b75b13e83f576988
tree6c3d673c61299bf2f239d3f79b87a8f27e15521d
parentd82f3909da11f9732fbc488333de0fdeb4d91ff5
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
src/test/regress/regress.c